Server Side Code..

  • Thread starter Thread starter Nelson
  • Start date Start date
N

Nelson

How to decide to use WebControls.Button or HtmlControls.HtmlInputButton
controls in a web application. When I am getting the clicked event handler
for both of them on the server side. Thanks,

Nelson
 
Hi Nelson,

I would definitely go with the <asp:Button> in your case and use code
behind. This makes it easy to hook up your code if you are using an IDE
like VS.Net and will seperate your code from your UI. Good luck! Ken.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top