Hi,
I need to write out the following control using response.write:
<asp:Button id="btn1" runat="Server" />
Or an ImageButton. But it doesn't work. I can't see the control in the browser. And if I view --> source, I see the actual code:
<asp:Button id="btn1" runat="Server" />
My code is within the form tags. The only thing I can think of is that you cannot response.write a server control. Is this correct? And is there any way around this?
Thanks,
Mark
I need to write out the following control using response.write:
<asp:Button id="btn1" runat="Server" />
Or an ImageButton. But it doesn't work. I can't see the control in the browser. And if I view --> source, I see the actual code:
<asp:Button id="btn1" runat="Server" />
My code is within the form tags. The only thing I can think of is that you cannot response.write a server control. Is this correct? And is there any way around this?
Thanks,
Mark