I'm trying to create a generic <input type="button"> button in ASP.Net using an ASP.Net control and I'm unfortunately stuck using ASP.Net 1.1 right now. I know you can use the UseSubmitBehavior="False" attribute in later versions of ASP.Net but I can't seem to find a way to do this in ASP.Net 1.1. Is there a way to do this or will I need to just create the HTML version of the control and set it to runat="server"?
Thanks. I'm sure my original post looked extremely basic, I edited it to make the main portion show up now. I'm looking for a way to make an <input type="button"> with an asp:Button control, not a submit button.
Shawn Steward
2009-10-23 21:07:09
A:
Well it looks like you just can't do this with an asp.net control. The only way I was able to make this work was with an <input type="button" runat="server">
control.
Shawn Steward
2009-11-11 17:47:07