Question

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"?

Was it helpful?

Solution 2

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top