Is it possible to make a single button run a client side script and run a server side function? If so how? Thanks.
Sean
Some days when I think about the next 30 years or so of my life I am going to spend writing code, I happily contemplate stepping off a curb in front of a fast moving bus.
Add a server side control, then at the Page_Load for your page, add a property to the button for name=onClick and parameter="Your function"
The compiler will add it and then add its own definition for the click handler too. If your client function returns a true value, the post back occurs and the server side executes.
If your client code returns false, execution halts and the button does not post back.
Need to re-register ASP.NET?
C:\WINNT\Microsoft.NET\Framework\v#VERSIONNUMBER#\aspnet_regiis -i
(Edit #VERSIONNUMBER# as needed - do a DIR if you don't know)