protected void Page_Load(object sender, EventArgs e) { try { msgbox.Visible = false; if (!IsPostBack) { fromDateTextBox.Text = LumexLibraryManager.GetAppDateView(DateTime.Today.ToString()); toDateTextBox.Text = LumexLibraryManager.GetAppDateView(DateTime.Today.ToString()); LumexSessionManager.Add("CenterId", "CNT001"); LumexSessionManager.Add("ActiveUserId", "Developer"); } if (deletedListGridView.Rows.Count > 0) { deletedListGridView.UseAccessibleHeader = true; deletedListGridView.HeaderRow.TableSection = TableRowSection.TableHeader; } } catch (Exception ex) { string message = ex.Message; if (ex.InnerException != null) { message += " --> " + ex.InnerException.Message; } MyAlertBox("ErrorAlert(\"" + ex.GetType() + "\", \"" + message + "\", \"\");"); } }