Exemplo n.º 1
0
 public void InitializeFilterDropDownLists(WACFilterControl fc, List <WACParameter> parms)
 {
     foreach (string ddlID in DDLBinders.Keys)
     {
         DropDownList  ddl   = fc.FindControl(ddlID) as DropDownList;
         DDLDataObject ddlDO = DDLBinders[ddlID];
         if (ddl != null && ddlDO != null)
         {
             ddlDO.DataBindDDL(ddl, parms, null);
         }
     }
     //ContentStateChanged(fc, WACFilterControl.FilterState.Initialized);
 }
Exemplo n.º 2
0
 public void ResetReloadFilterDropDownLists(WACFilterControl fc, List <WACParameter> parms)
 {
     foreach (string ddlID in DDLBinders.Keys)
     {
         DropDownList  ddl   = fc.FindControl(ddlID) as DropDownList;
         DDLDataObject ddlDO = DDLBinders[ddlID];
         if (ddl != null && ddlDO != null)
         {
             ddl.Items.Clear();
             ddlDO.DataBindDDL(ddl, parms, null);
         }
     }
     ContentStateChanged(fc, WACFilterControl.FilterState.Reset);
 }