public DataControl GetDataControlByPath(string path)
 {
     if (BCHelper.IsControl(path))
     {
         return(DCHelper.GetDataControlByPath(path));
     }
     else
     {
         DataControlInfo info = BCHelper.GetWidgetControlInfo(path);
         return(info != null && info.Controls.Count > 0 ? info.Controls[0] : null);
     }
 }
Exemplo n.º 2
0
        protected bool IsControl()
        {
            BaseControlHelper Helper = new BaseControlHelper();

            return(Helper.IsControl(ControlFile));
        }