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

RadGrid OnRowClick & OnRowDblClick Events

1 Answer 135 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Lindsay Miller
Top achievements
Rank 1
Lindsay Miller asked on 18 Aug 2010, 08:14 PM
We have an aspx page that has two RadGrids and a Rad Panel.  The RadGrids contain lists of users which can be moved back and forth by double clicking.  The Rad Panel contains information about the users.  This information is populated using the OnSelectedIndexChanged event.  In order to get the user information to display and update in the panel, the EnablePostBackOnRowClick event is set to true.  The information in the panel is always updated correctly; however, the users in the grids do not always move when they are double clicked.

It looks like the Post Back is occurring before the double click.  If we remove the EnablePostBackOnRowClick and remove the OnSelectedIndexChanged events, the users move every time they are double clicked... however the information at the bottom has been removed.  This was working until recently as implemented.  Is it possible this was changed in a patch?  If not, how can I implement this so the users are always moved when they are double clicked?

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 19 Aug 2010, 07:59 AM
Hello,


If you want to perform different operation in clicking and double-clicking the row, then a better option is performing postback manually from the corresponding client events.
Performing postback from grid client events


-Shinu.
Tags
Grid
Asked by
Lindsay Miller
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or