protected void CheckBox1_CheckedChanged(object sender, EventArgs e)
{
if (CheckBox1.Checked)
{
// ExStart:DisplayCellEditBox
// Making the Edit Box (toolbar) visible for the GridWeb control
GridWeb1.ShowCellEditBox = true;
// ExEnd:DisplayCellEditBox
}
else
{
// Hide the Edit Box (toolbar) for the GridWeb control
GridWeb1.ShowCellEditBox = false;
}
}