Click here to Skip to main content
15,894,017 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to call ascx pageload event in aspx page
Posted

1 solution

Mahendra,

Instead of calling page load, copy all the code of page_load to a public method (say RefreshControl()) and call that method from Page_Load. And when you want to refresh from aspx page call the control public method, like -

C#
userControl1.RefreshControl();
 
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