protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         DropDownManager.PopulateExam(ddlExam, SessionUser.CategoryId);
         DropDownManager.PopulateYear(ddlYear);
     }
 }
 protected void Page_Load(object sender, EventArgs e)
 {
     if (SessionUser == null)
     {
         Response.Redirect("~/Account/Login");
     }
     DropDownManager.PopulateExam(ddlExam, SessionUser.CategoryId);
     DropDownManager.PopulateYear(ddlYear);
 }
Beispiel #3
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!Page.IsPostBack)
     {
         PopulatePrimaryTable();
         PopulateSecondaryTable();
         Multiview0.ActiveViewIndex = 0;
         DropDownManager.PopulateExam(ddlExam);
         DropDownManager.PopulateYear(ddlYear);
         DropDownManager.PopulateExam(ddlExam1);
         DropDownManager.PopulateSubject(ddlSubject);
         DropDownManager.PopulateSubject(ddlSubject1);
         DropDownManager.PopulateYear(ddlYear1);
         DropDownManager.PopulateExam(ddlExam2);
         DropDownManager.PopulateYear(ddlYear2);
         DropDownManager.PopulateExam(ddlExam3);
         DropDownManager.PopulateYear(ddlYear3);
     }
 }