Click here to Skip to main content
15,881,559 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am working with usercontrol (ascx ) in asp.net

after placing or register usercontrol in asp.net

can we fired or invoke asp.net page methods or events from user control (ascx) ?

if yes then how ?

thanks in advance
Posted

1 solution

Event is fired automatically under asp.net core framework. You can not manually fire those. Just you can bind or unbind event handler for those. If any logic you need to reuse then write it to any helper method and call it from your appropriate event handler.
 
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