Exemplo n.º 1
0
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            Ajax.Utility.RegisterTypeForAjax(typeof(WOParentAltPack));

            Session["UserName"] = ((Session["UserName"] != null) ? Session["UserName"].ToString() : "[null]");

            GetSecurity();

            DataUtil.BindListControls(ddlActionStatus, "ListDesc", "ListValue", DataUtil.GetListDetails("WOActions"), "--- ALL ---");
            DataUtil.BindListFromTables("--- ALL ---", ddlPriorityCd, "TableType='PRI' AND WOApp='Y' ORDER BY TableCd");
            DataUtil.BindLocList("--- ALL ---", ddlBranch, "AssemblyLoc='Y' ORDER BY LocID");
            DataUtil.BindWorkSheetUserList("--- ALL ---", ddlEntryID);

            ClearGrid();
        }
    }