Пример #1
0
 public THtmlControl HtmlControlFor <THtmlControl>(string controlId, TimeSpan maxWait = default(TimeSpan))
     where THtmlControl : HTMLControl, new()
 {
     ThrowIfComponentNotCreatedCorrectly();
     return(ComponentFactory.HtmlControlFor <THtmlControl>(controlId, maxWait));
 }
Пример #2
0
 protected THtmlControl HtmlControlFor <THtmlControl>(Expression <Func <TModel, Object> > propertySelector, TimeSpan maxWait = default(TimeSpan))
     where THtmlControl : HTMLControl, new()
 {
     return(ComponentFactory.HtmlControlFor <THtmlControl>(propertySelector, maxWait));
 }