Click here to Skip to main content
15,921,052 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
HI'
There is a server control in my page.
When I click it for first time , its work but scripts of body onload and codebehind oage_load also be run.
Why?
Posted

1 solution

My suggestion is something is causing the Page to postback. This will cause the body onload script to run and the page_load to run.

Is there any updatepanels on the page?
 
Share this answer
 
v2

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