Why does HTML Input type "Text" with runat="server" block button onclick event?

  • Thread starter Thread starter sweetcheeks
  • Start date Start date
S

sweetcheeks

Guest
I have a form on an aspx page with textboxes. They are set up as <input id="Text1" type="text" runat="server"> but if I have more than one, everything compiles ok, but when I click my button on my page, the onclick event is not fired. The button is only clicked and doesn't do anything. If I have the <input type="text"> boxes set *without* runat="server" the button works just fine.

IDs on the input textboxes are all unique and the onclick event name matches in the button's OnClick property.

What is happening here? Thanks! ^^
 
Back
Top