Possible Duplicate:
ASP.NET: how to remove 'name' attribute from server controls?
On asp.net form controls setting the id attribute seems to generate 2 attributes (id, name) with the same value in the rendered html. Is there any way to disable generation of the name attribute?
For example a textbox with id textBox1 generates html like:
<input type="text" id="textBox1" readonly="readonly" name="textBox1"></input>