Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

C Sharp masterpage code not running twice

Status
Not open for further replies.

M8KWR

Programmer
Aug 18, 2004
864
0
0
GB
Hopefully a simple one!

I have some code on the page_load on the masterpage.

I need this to run everytime a page using the masterpage is loaded; but this code only seems to run once!

What can I do to fix it

many thanks
 

Are you using UpdatePanels? Or are you surrounding the code with an isPostback test?


Mark

"You guys pair up in groups of three, then line up in a circle."
- Bill Peterson, a Florida State football coach
 
Hi

No, I am not doing any of that!

I have simply got code in the page_init of the masterpage, but every time I run a page that uses this masterpage, the code does not run (only the first time the website is loaded)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top