Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- protected void Page_Load(object sender, EventArgs e)
- {
- if (!IsPostBack)
- {
- // the following line of code is for code build. Remove this line of code to require login.
- UserHelper.LoadTestSessionUser();
- SetPatientsTabToSelected();
- LoadAllDropDowns();
- UpdateTimer.Enabled = true;
- MySession.Instance.InactivityCounter = 0;
- }
- if (!UserHelper.IsUserAuthorizedToVisitPage("DoctorPatients.aspx"))
- Response.Redirect("login.aspx");
- DBCTest_2.SelectParameters["UserID"].DefaultValue = MySession.Instance.LoggedInUserID.ToString();
- }
Advertisement
Add Comment
Please, Sign In to add comment