示例#1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     ActUserId = SessionHelpers.GetUserId();
     try
     {
         if (!IsPostBack)
         {
             ShowGrid();
         }
         else if (CustomPaging.ChangePage)
         {
             ShowGrid();
         }
     }
     catch (Exception ex)
     {
         sms.utils.Log.writeLog(ex.ToString(), ((new System.Diagnostics.StackTrace()).GetFrames()[0]).GetMethod().Name);
     }
 }
示例#2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     ActUserId = SessionHelpers.GetUserId();
     try
     {
         if (!IsPostBack)
         {
             DropDownListHelpers.DDL_Bind(ddlUserStatusId, UserStatuss.Static_GetList(), " ... ", "0");
             DropDownListHelpers.DDL_Bind(ddlUserStatusId, UserTypes.Static_GetList(), " ... ", "0");
             ShowGrid();
         }
         else if (CustomPaging.ChangePage)
         {
             ShowGrid();
         }
     }
     catch (Exception ex)
     {
         sms.utils.Log.writeLog(ex.ToString(), ((new System.Diagnostics.StackTrace()).GetFrames()[0]).GetMethod().Name);
     }
 }
 protected void Page_Load(object sender, EventArgs e)
 {
     try
     {
         ActUserId = SessionHelpers.GetUserId();
         if (!IsPostBack)
         {
             if (Request.QueryString["id"] == null)
             {
             }
             else
             {
                 bindData();
             }
         }
     }
     catch (Exception ex)
     {
         sms.utils.LogFiles.LogError(((new System.Diagnostics.StackTrace()).GetFrames()[0]).GetMethod().Name + "\t" + ex.ToString());
         JSAlertHelpers.Alert(ex.Message, this);
     }
 }