Click here to Skip to main content
15,896,264 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how can i make my div Click event inside an update panel to execute a server side code(function).
Posted

1 solution

You can't. UpdatePanel is for Server Controls not for HTML tags/controls.

However you can call your server-side code from HTML/JavaScript by using Ajax.

Have a look at my below Tip/Trick on this topic.(Not an advertisement :))

Simplifying Asp.Net Core Ajax
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900