Advertisement
Ortund

Untitled

Oct 26th, 2011
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 0.50 KB | None | 0 0
  1.     Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
  2.         pnlSelectOrg.Visible = True
  3.         pnlEditOrg.Visible = False
  4.         pnlOrgUsers.Visible = False
  5.         pnlAddUser.Visible = False
  6.  
  7.         If Not IsPostBack Then
  8.             ' Fill the DropDownList
  9.             BindOrgs()
  10.         End If
  11.  
  12.         If ddlOrgs.SelectedItem.Text = "Please select an organization to edit" Then
  13.             lnkEditOrg.Enabled = False
  14.         End If
  15.     End Sub
  16.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement