Saturday, March 31, 2012

Server Side Code..

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,

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

--
Ken Dopierala Jr.
For great ASP.Net web hosting try:
http://www.webhost4life.com/default.asp?refid=Spinlight
If you sign up under me and need help, email me.

"Nelson" <NelsonSmith1997@.hotmail.com> wrote in message
news:evpYtjRyEHA.3224@.TK2MSFTNGP14.phx.gbl...
> 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
>

No comments:

Post a Comment