Esempio n. 1
0
 DataTable GetSourceTable(AjaxBaseControl ctrl)
 {
     if (ctrl is IAjaxDataSource)
     {
         object src = ctrl.GetObjByID(((IAjaxDataSource)ctrl).DataSourceID);
         if (src != null && src is WebDataSource)
         {
             WebDataSource wds = src as WebDataSource;
             if (string.IsNullOrEmpty(wds.SelectAlias) && string.IsNullOrEmpty(wds.SelectCommand))
             {
                 if (wds.DesignDataSet == null)
                 {
                     WebDataSet ds = GloFix.CreateDataSet(wds.WebDataSetID);
                     wds.DesignDataSet = ds.RealDataSet;
                 }
                 return wds.DesignDataSet.Tables[wds.DataMember].Clone();
             }
             else
             {
                 return wds.CommandTable.Clone();
             }
         }
     }
     return null;
 }
Esempio n. 2
0
 public ExtViewPagingSet(AjaxBaseControl parent)
 {
     _ownerView = parent;
 }
Esempio n. 3
0
 public ExtGridGridSet(AjaxBaseControl parent)
 {
     _ownerView = parent;
 }
Esempio n. 4
0
 public AjaxScheduleTitle(AjaxBaseControl parent)
 {
     _ownerView = parent;
 }
Esempio n. 5
0
 public AjaxScheduleColumn(AjaxBaseControl parent)
 {
     _ownerView = parent;
 }