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); } }
protected bool IsControl() { BaseControlHelper Helper = new BaseControlHelper(); return(Helper.IsControl(ControlFile)); }