Re: Programmatically Assign Data Binding Expression?
- From: stcheng@xxxxxxxxxxxxxxxxxxxx (Steven Cheng[MSFT])
- Date: Thu, 01 Mar 2007 07:26:27 GMT
Hello Mark,
Thanks for your reply.
Yes, so far the ability of building controls or Template from a
discretionary string is not supported. The only means is using a template
file(on file system) and load it through virtual path and use
Page.Loadtemplate to load it. Actually, for ASP.NET runtime, those
control's Template fields are loaded through the
System.Web.UI.UserControlParser class which is internal accessible, and
event those parsing method of UserControlParser are also limited to a
template file on disk(request through virtual path).
Therefore, currently using programamtic databinding should be the prefered
approach in our custom control.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.
.
- Prev by Date: Re: GridView DataBind() Not Working
- Next by Date: Re: renderbegintag without any tag
- Previous by thread: Re: renderbegintag without any tag
- Next by thread: Re: AddParsedSubObject and Multiple Identical Property Types
- Index(es):
Relevant Pages
|
Loading