This is a migrated thread and some comments may be shown as answers.
Newly selected row in the grid
2 Answers 31 Views
This is a migrated thread and some comments may be shown as answers.
GoodLevitation
Top achievements
Rank 1
GoodLevitation asked on 21 May 2008, 02:48 PM
On grid, we have "OnSelectedIndexChanged" server side event, but how about OnSelectedIndexChanging"?

In other words, is there an either a client side or server side event that would give me if a new row has been selected "BEFORE" row change occured - with previously selected row # and the row that is going to be selected?

Thanks in advance..

2 Answers, 1 is accepted

Sort by
0
GoodLevitation
Top achievements
Rank 1
answered on 21 May 2008, 02:57 PM

I now see that we have "OnRowSelecting" and "OnRowSeleted" client events.  I'll play around with them to see if they give me both the old selected row and newly selected row.

But if you don't see my update, please let me know...

<

ClientEvents OnGridCreated="ScrollToRow" OnRowSelecting="RowSelectingHandler" />

0
Konstantin Petkov
Telerik team
answered on 22 May 2008, 05:51 AM
Hello GoodLevitation,

You can indeed use the client-side events OnRowSelecting/OnRowDeselecting for this purpose. Find more information in the help for example here.

I hope this helps!

Kind regards,
Konstantin Petkov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Grid
Asked by
GoodLevitation
Top achievements
Rank 1
Answers by
GoodLevitation
Top achievements
Rank 1
Konstantin Petkov
Telerik team
Share this question
or