Hi everybody!
I'm trying to create an object dynamically. Well really not an object. The task is to put something like
<asp:Button id="btn1" runat="server"/> in form's html and make it somehow to be compiled and recognized as a web control and then rendered as a html.
This stuff I get from a XML file, which I cannot parse (because of such task
)
I tried something like
onPreInit()
{
div.InnerHTML = strHTML;
}
where strHTML has this "<asp:Button id="btn1" runat="server"/>" but I got the same asp tags in result html file.
Any ideas?
I'll be very thankfull for any help!
Thank you!
Alex
I'm trying to create an object dynamically. Well really not an object. The task is to put something like
<asp:Button id="btn1" runat="server"/> in form's html and make it somehow to be compiled and recognized as a web control and then rendered as a html.
This stuff I get from a XML file, which I cannot parse (because of such task
I tried something like
onPreInit()
{
div.InnerHTML = strHTML;
}
where strHTML has this "<asp:Button id="btn1" runat="server"/>" but I got the same asp tags in result html file.
Any ideas?
I'll be very thankfull for any help!
Thank you!
Alex