protected void btnRestrictContextMenu_Click(object sender, EventArgs e)
{
// ExStart:RestrictContextMenu
// Restricting column related operations in context menu
GridWeb1.EnableClientColumnOperations = false;
// Restricting row related operations in context menu
GridWeb1.EnableClientRowOperations = false;
// Restricting freeze option of context menu
GridWeb1.EnableClientFreeze = false;
// ExEnd:RestrictContextMenu
}
}