1

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

1
  • Looks like my original version of the post left out an important element... the <input type="button"> part... I can't seem to find a way to create a button that is not a submit button Commented Oct 23, 2009 at 20:56

2 Answers 2

2

ASP:Button in ASP.NET 1.1

Sign up to request clarification or add additional context in comments.

1 Comment

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.
0

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.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.