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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

master page being called twice

Status
Not open for further replies.

glyn6

Programmer
Nov 2, 2009
561
GB
I've got a page with an asp:Repeater paginator. I've used the same code elsewhere and everything is fine, but on this one site, the page_load event is fired twice when I click on the next or previous page button.

I've got AutoEventWireup="false" and removed all the images just incase there are any where src="" which are the 2 reasons for this that are commonly stated.

I've recoded the code page, the masterpage, the project itself and on this one page for some reason, I can't stop it.

Are there any other things to try to figure out what the problem is?
Thanks
 
When you debug the page, have a look at the call stack in the debugger as it may show the path of where it has been called from. I'd guess that it is just something as simple as it being wired up twice incorrectly. Also, try turning on Tracing for the page as that may also shed some light on it.

Mark,

Darlington Web Design[tab]|[tab]Experts, Information, Ideas & Knowledge[tab]|[tab]ASP.NET Tips & Tricks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top