Here is the good article to implement this functionality but i was unable to do this with post back buttons in share point web part, it broke all subsequent post backs on page if user clicks "Stay on page", for Hypelinks it works perfectly. I used javascript confirm for postback buttons.
http://snippets.surfthru.com/post/Check-For-Unsaved-Changes-Before-Leaving-a-Page.aspx
Monday, January 20, 2014
Thursday, January 16, 2014
Entity Framework Collection was modified; enumeration operation may not execute
Thursday, December 5, 2013
Friday, November 22, 2013
Browser Back button functionality
href="#" onClick="history.go(-1); return false;" class="btnCss" Back
Thursday, November 21, 2013
Tuesday, November 19, 2013
Subscribe to:
Posts (Atom)