Skip to content Skip to sidebar Skip to footer

Calling A Vb Linkbutton’s(within A User Control) Click Event From Javascript

how can i call a VB function - deleteevent() in usercontrol.ascx.vb from a javascript function in clickhandler(e) in usercontrol.ascx. The call should cause a postback because i ne

Solution 1:

Try looking at the __doPostBack function which is what ASP.NET uses to fire postbacks on linkbuttons and other controls, but can be used from any other JavaScriptcript function.

A good article on the topic with examples can be found here.

Post a Comment for "Calling A Vb Linkbutton’s(within A User Control) Click Event From Javascript"