Thread: Onclick
View Single Post
Old Feb 13th, 2008, 12:48 PM   #3
xavier
Professional Programmer
 
xavier's Avatar
 
Join Date: Oct 2004
Location: .ro
Posts: 383
Rep Power: 4 xavier is on a distinguished road
Send a message via Yahoo to xavier
Re: Onclick

How often do you see a site where you can just click " some text " and it does stuff ? Asp.Net is not WinForms, it still relies on the old html on the client side. If you want an onclick event , use an <asp:Button or <asp:LinkButton or <asp:HyperLink .

If you want to do it on the client, you can always use JavaScript.

Do take a look at a tutorial on asp.net before asking questions like this.
__________________
Don't take life too seriously, it's not permanent !
xavier is offline   Reply With Quote