/// <summary> /// Bind all sub menu list /// </summary> public void INF_Get_SubMenuList() { try { DDLSubMenu.DataSource = objMenuBLL.INF_Get_SubMenuList(DDLMenu.SelectedValues); DDLSubMenu.DataTextField = "Menu"; DDLSubMenu.DataValueField = "Menu_Code"; DDLSubMenu.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); } }