When you want to set WebGrid visible/invisible, you can use Show or Hide functions in client side.
This topic will show you how to show or hide WebGrid.
To show/hide WebGrid
- Drag WebGrid instance into the WebForm.
- Add a client side function on your code.
- You can show or hide grid simply by using:
-
JavaScript Copy Code function showGrid()
{
var grid = ISGetObject('WebGrid1');
grid.Show();
}function hideGrid()
{
var grid = ISGetObject('WebGrid1');
grid.Hide();
}
Other Resources
Walkthrough Topics
How-to Topics