예제 #1
0
 /// <include file='doc\TemplateControl.uex' path='docs/doc[@for="TemplateControl.ParseControl"]/*' />
 /// <devdoc>
 ///    <para> Parse the input string into a Control.  Looks for the first control
 ///    in the input.  Returns null if none is found.</para>
 /// </devdoc>
 public Control ParseControl(string content)
 {
     return(TemplateParser.ParseControl(content, Context, TemplateSourceDirectory));
 }
예제 #2
0
 public Control ParseControl(string content, bool ignoreParserFilter)
 {
     return(TemplateParser.ParseControl(content, System.Web.VirtualPath.Create(this.AppRelativeVirtualPath), ignoreParserFilter));
 }