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