Exemple #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     sqlParamSrh[1].Value = ddlSearch.SelectedValue.ToString();
     sqlParamSrh[2].Value = txtSearch.Text.Trim();
     sqlParamSrh[3].Value = int.Parse(rdoboth.SelectedValue);
     if (!Page.IsPostBack)
     {
         //Filling Menus to grid of calling BindDataGrid of CommonClass
         objCommonClass.BindDataGrid(gvComm, "uspMenuMaster", true, sqlParamSrh, lblRowCount);
         //Binding parent menu Items on ddlParent Drop down
         objCommonClass.BindParentMenuItems(ddlParent);
         imgBtnUpdate.Visible = false;
     }
     System.Threading.Thread.Sleep(int.Parse(ConfigurationManager.AppSettings["AjaxPleaseWaitTime"]));
 }