Warning leaving this page will lose data...
Ok, well leaving this page won't lose data but woudn't it be nice if there was a page level property NavigationWarnUser=true that would warn the user if they changed any input field on the form and are about to navigate away from the page? Who has the asp.net 3.0 wish list?
Has anyone come up with a nice reusable framework for handling this?
In theory you could package up some generic rountines that would grab all the values form input fields on load of the page, then upon unload compare and prompt the user. The big challenge I see is the fact that control over the unload process is more of a notification than a change to do anything.
Anyone have some great ideas on this one?