Monday, March 26, 2012

Detecting UpdatePanel postback so can prevent onbeforeunload from firing

Hi, I was wondering if any of you AJAX gurus could help me out or point me in the right direction...

I'm using onbeforeunload on a form that has UpdatePanels. Anyone know how to detect the postback is an AJAX partial page update rather than a full page postback so I can prevent the onbeforeunload dialog showing in such cases?

Cheers.

No worries, I've just found this thread that gave me the info I needed to resolve my issue -http://forums.asp.net/p/1153470/1887704.aspx

No comments:

Post a Comment