/// <summary> /// Method that called on Cancel Button click Event /// </summary> /// <param name="sender">Event Source</param> /// <param name="e">Event Data</param> protected void ButtonCancel_Click(object sender, EventArgs e) { //Response.Redirect("ManageMasterData.aspx"); PanelManageData.Visible = false; DispalyMasterData(); DropDownListMasterList.Focus(); }
/// <summary> /// Method that called on Page Load Event /// </summary> /// <param name="sender">Event Source</param> /// <param name="e">Event Data</param> protected void Page_Load(object sender, EventArgs e) { DataProvider.AuthorizeUser(); MasterPage masterPage = this.Page.Master; Header headerPage = (Header)masterPage; headerPage.DisplayDataFromMasterPage(Session["UserName"].ToString()); //Session["EnableProductSelection"] = false; //Session["AddAllOption"] = "As Selected"; headerPage.DisplayProductSelectionControl(false); GetMasterPage().FindControl("PanelActionMessage").Visible = false; if (!Page.IsPostBack) { GetMasterDataMappingList(); DispalyMasterData(); DropDownListMasterList.Focus(); } }
/// <summary> /// Method that called on Lookup DropdownList control is changed /// </summary> /// <param name="sender">Event Source</param> /// <param name="e">Event Data</param> protected void DropDownListMasterList_SelectedIndexChanged(object sender, EventArgs e) { PanelManageData.Visible = false; DispalyMasterData(); DropDownListMasterList.Focus(); }