Exemplo n.º 1
0
 public static string PopulateTemplate(this ViewUserControlEx viewControl, string path, object data = null, object config = null)
 {
     path = ResolveViewControlPath(viewControl, path);
     return(HtmlSnippet.Populate(null, null, path, data, config));;
 }
Exemplo n.º 2
0
 public static string PopulateTemplateWithJson(this ViewUserControlEx viewControl, string path, string json = "null", object config = null)
 {
     path = ResolveViewControlPath(viewControl, path);
     return(HtmlSnippet.Populate(null, null, path, json, config, true));;
 }
Exemplo n.º 3
0
 public static string PopulateTemplate(this ViewMasterPage viewMasterPage, string path, object data = null, object config = null)
 {
     path = ResolveViewMasterPagePath(viewMasterPage, path);
     return(HtmlSnippet.Populate(null, null, path, data, config));;
 }