Are there any reasons you may be forced to use the HTML button instead of a button web control in asp.Net?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You will definitely not be forced IMO. But if your button is executing a client side code and does not require a post back, you can simply use a simple HTML button. The ASP .NET button is ultimately a conventional html button triggered to cause a post back when clicked.
Also by using a simple HTML button, you would lose the ability to change its style/behavior in the server side, easily.