|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
src attribute of the TagPrefix Page directiveHi,
is there a way of injecting a string which can be used to be assigned to the src attribute of a web user control on an aspx page. instead of this <%@ Register TagPrefix="MyControl" TagName="MyTag" Src="someusercontrol.ascx" %> how can i use a server variable or a string from the web.config file as the src string? Thanks for any suggestions. You can do the equivalent from code by calling Page.LoadControl.
-Brock DevelopMentor http://staff.develop.com/ballen Show quoteHide quote > Hi, > > is there a way of injecting a string which can be used to be assigned > to the src attribute of a web user control on an aspx page. > > instead of this > <%@ Register TagPrefix="MyControl" TagName="MyTag" > Src="someusercontrol.ascx" %> > how can i use a server variable or a string from the web.config file > as the src string? > > Thanks for any suggestions. >
Get Value of a control from my Own Control
asp:button Text= ASP datagrid not passing text to Excel Call Page from Control Parser Error Disable ButtonColumn button control through code dynamic control event not firing Binding to listbox / using data access object Viewstate Looking for sorted list webcontrol |
|||||||||||||||||||||||