Click here to Skip to main content
15,891,204 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello Friends,

I have used Calender control of visual studio. pagerender() event of calender control is always call on each event. is there any solution to restrict this call on each event fire of other controls.

Please give me solution of this issue ASAP.

Thank you,
sonal Patel
Posted

1 solution

Calendar is part of your page controls once you added it. Now, control's (every) render based events would participate in Page life cycle.
ased on event of any other control, if page is reconstructed and rendered, other controls being part of the page too would get rendered.

Look here and see how page life cycle works:
Complete Lifecycle of an ASP.Net page and controls[^]
ASP.NET Application and Page Life Cycle[^]
MSDN: ASP.NET Page Life Cycle Overview[^]
 
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