Geeks With Blogs
Timo Heinäpurola MVC
Checking if a view has changed in ASP.NET
The typical way to check for whether anything has changed in the view when you’re navigating away from a page is to bind a method to the change event of each input and to set a flag if this has happened. This flag is then checked when leaving the page and a notification is shown to the user if the flag is raised. This is all good but it does not take into account things like changing the order of inputs and changing values back to their original values. Also, creating dynamic elements makes this ......

Posted On Wednesday, January 4, 2012 10:50 AM

Copyright © raccoon_tim | Powered by: GeeksWithBlogs.net