/// <summary> /// display page list by sub menu /// </summary> public void INF_Get_PageListBySubMenu() { try { DDLPageName.DataSource = objMenuBLL.INF_Get_PageList(DDLSubMenu.SelectedValues); DDLPageName.DataTextField = "Page_Name"; DDLPageName.DataValueField = "Menu_Code"; DDLPageName.DataBind(); } catch (Exception ex) { UDFLib.WriteExceptionLog(ex); string js = "alert('" + UDFLib.GetException("SystemError/ GeneralMessage") + "');"; ScriptManager.RegisterStartupScript(this, this.GetType(), "error", js, true); } }
protected void btnClearFilter_Click(object sender, ImageClickEventArgs e) { try { DDLCompany.ClearSelection(); DDLDepartment.ClearSelection(); DDLMenu.ClearSelection(); DDLMenu.ClearSelection(); DDLSubMenu.ClearSelection(); DDLUser.ClearSelection(); DDLPageName.ClearSelection(); Bind_AccessRightsReport(); } catch (Exception ex) { UDFLib.WriteExceptionLog(ex); string js = "alert('" + UDFLib.GetException("SystemError/ GeneralMessage") + "');"; ScriptManager.RegisterStartupScript(this, this.GetType(), "error", js, true); } }