quote:Originally posted by pgtips
I don't know what server controls are, but why should you get an error placing <asp:TextBox id="TextBox1" runat="server"></asp:TextBox> inside xslt? Unless you haven't declared the asp namespace of course...
A server control is a control which asp.net renders into html. It provides an easy interface on the server end to interact with the control.
As you rightly said you get an error because asp is not a recognized namespace. But that's just it, I don't want to declare the namespace as it will then be output in the html as the following, which means nothing:
<asp:TextBox id="TextBox1" runat="server"></asp:TextBox>
Instead I want asp.net to recognize it as a server control and render it as html, but unfortunately it doesn't work like that.