protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { Ajax.Utility.RegisterTypeForAjax(typeof(WOWorkSheet)); Session["UserName"] = ((Session["UserName"] != null) ? Session["UserName"].ToString() : "[null]"); GetSecurity(); DataUtil.BindListControls(ddlActionStatus, "ListDesc", "ListValue", DataUtil.GetListDetails("WOActions"), "--- ALL ---"); //DataUtil.BindListControls(ddlPriorityCd, "ListDesc", "ListValue", DataUtil.GetListDetails("WOPriorityCd"), "--- ALL ---"); DataUtil.BindListFromTables("--- ALL ---", ddlPriorityCd, "TableType='PRI' AND WOApp='Y' ORDER BY TableCd"); DataUtil.BindLocList("--- ALL ---", ddlBranch, "AssemblyLoc='Y' ORDER BY LocID"); ClearGrid(); } }