.NET version |
3.5+
|
Visual Studio |
2010+
|
programming language |
JavaScript
|
browser support |
all browsers supported by Telerik UI
|
PROJECT DESCRIPTION
When using a RadGrid with enabled Batch editing functionality, it is possible to forget or neglect saving the recent changes before moving to another page, sorting, filtering or any other Postback action. This code-library demonstrates how to prevent the action if there are any unsaved Batch changes. It provides four approaches to choose from depending on your specific requirements:
- SimpleStandardConfirm: The most basic implementation which prevents only paging.
- SimpleRadConfirm: Prevents only paging, but this time with RadWindow.
- AdvancedStandardConfirm: Demonstrates how to prevent paging, sorting, other PostBack actions from external elements, as well as, closing the browser or navigating to another page without saving the changes.
- AdvancedRAdConfirm: The same as AdvancedStandardConfirm, but using RadWindow confirmation wherever possible.
You can find additional information about the Advanced confirm pages in the comments of their respective script files.