Use ExitEditMode function to exit from WebGrid edit mode in client side.
This topic will show you how to exit from WebGrid's edit mode.
To exit from WebGrid edit mode
- Drag WebGrid instance into the WebForm.
- Add a client side function on your code.
- You can exit from edit mode by simply using:
-
JavaScript Copy Code function ExitEditMode()
{
var grid = ISGetObject("WebGrid1");
grid.ExitEditMode(false);
}
Other Resources
Walkthrough Topics
How-to Topics