This is a migrated thread and some comments may be shown as answers.

remove selection in rows

1 Answer 76 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Savyo
Top achievements
Rank 1
Savyo asked on 12 Feb 2013, 12:42 PM
Hi
How can I remove selection in rows on external button click??
Im selecting rows using clientselect column
thanks for any help

Savyo

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 12 Feb 2013, 12:51 PM
Hi,

Please try the following code snippet to clear selection on external button click.

C#:
protected void Button1_Click(object sender, EventArgs e)
{
    foreach (GridDataItem ditem in Radgrid1.SelectedItems)
    {
        ditem.Selected = false;
    }
}

Thanks,
Princy.

Tags
Grid
Asked by
Savyo
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or