For catching a customized event in asp.net
In JavaScript, use __doPostBack(eventName,”);
And then you replace eventName with anything you wanna call and catch in server side.
In CodeBehind page, you can have a code below to catch the event and execute special tasks
If Request.Form(“__EVENTTARGET”) = eventName Then
your special task execution code.
End If
I know this is out of asp.net sync, but I found this so much convinient when you use javascript a lot with asp.net.






seems like most problems with asp.net come from limitations of VS.net, not the actual .net framework itself. Not to mention that you still cannot validate to XHTML strict using the MS methodology of asp.net development .
i like .net framework myself. The feature that I like and dislike at the same time is the viewstate. If a developer abuses it, it becomes evil. If a developer uses it right, it becomes the best tool ever invented.
Gracias!!! eso era justo lo que necesitaba! eres un angelote!!!
Gracias mil!