Re: Programmatically Assign Data Binding Expression?



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.

.



Relevant Pages

  • RE: RPc server is unavailable since SP1
    ... I finally called Tech Support and we found out that there is a hotfix out ... In the Launch and Activation Permissions area, ... > IV. Please change permissions on the Workstation Authentication template to ... > that you want to autoenroll) enable autoenrollment by navigating to the ...
    (microsoft.public.windows.server.sbs)
  • Re: Option Strict Off/On
    ... templates i.e. when you create a file it actually copies a template. ... On setting is set on an Visual Studio IDE instance. ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.languages.vb)
  • RE: VS2008 Templates disappeared
    ... to get my AJAX Controltoolkit Web Site Template back. ... As for the Visual Studio 2008 website project template missing issue, ... Microsoft MSDN Online Support Lead ...
    (microsoft.public.vsnet.general)
  • Re: Performance issue
    ... The Malldoc template is located localy and is only 52kB small. ... Microsoft Online Community Support ... You can send feedback directly to my manager at: ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.office.developer.com.add_ins)
  • RE: Certsrv and Autoenrollment problem
    ... Thank you for posting to the SBS Newsgroup. ... so it will not be instantiated on the template ... Certificate Authority snap-in will show the templates in the Certificate ... Microsoft CSS Online Newsgroup Support ...
    (microsoft.public.windows.server.sbs)

Loading