protected void Page_Load(object sender, EventArgs e) { CalendarExtendertxtDueDate.Format = Convert.ToString(Session["User_DateFormat"]); TodayDateFormat = UDFLib.DateFormatMessage(); if (Session["USERFULLNAME"] == null) { Response.Redirect("~/Account/Login.aspx"); } if (!IsPostBack) { DataTable dt = objUser.Get_UserList(Convert.ToInt32(Session["USERCOMPANYID"])); ddlFeedbackFrom.DataSource = dt; ddlFeedbackFrom.DataTextField = "USERNAME"; ddlFeedbackFrom.DataValueField = "UserID"; ddlFeedbackFrom.DataBind(); ddlFeedbackFrom.Items.Insert(0, new ListItem("-Select-", "0")); DataTable dt1 = BLL_Crew_Evaluation.Get_FeedbackCategories(); ddlFeedbackCategory_Add.DataSource = dt1; ddlFeedbackCategory_Add.DataTextField = "CATEGORY"; ddlFeedbackCategory_Add.DataValueField = "ID"; ddlFeedbackCategory_Add.DataBind(); lblName.Text = Session["USERFULLNAME"].ToString(); lblDate.Text = DateTime.Now.ToString(Convert.ToString(Session["User_DateFormat"])); Load_CrewEvaluationFeedbackRequest(); } }