Exemple #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         ddlRoles.Bind(DBReadManager.GetFdrUsers(), "FullName", "SID");
     }
     if (string.IsNullOrEmpty(Request["submissionId"]))
     {
         btnAllocate.Enabled = false;
         ddlRoles.Enabled    = false;
     }
     else
     {
         btnAllocate.Enabled = true;
         ddlRoles.Enabled    = true;
     }
 }