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

Always have one row selected in radgrid

1 Answer 120 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Carl-Johan
Top achievements
Rank 1
Carl-Johan asked on 03 Jun 2011, 03:36 AM

I’m using radgrid that take its data from the NeedDataSource function.

The user can select one row (server-side).

When the grid first loads I would like to have the first row selected.

When the user creates a new row I would like to have that row selected.

How do I do this?

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 03 Jun 2011, 06:30 AM
Hello Carl,
You can achieve this by subscribing ItemDataBound and PreRender.
Check out the following help documentation for more on this.
http://www.telerik.com/help/aspnet-ajax/grid-selected-row-at-all-times.html
Thanks,
Shinu.
Tags
Grid
Asked by
Carl-Johan
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or