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

How-to: RadGrid and RowClick with ability to Cancel

1 Answer 74 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Hugues
Top achievements
Rank 1
Hugues asked on 21 Jul 2008, 08:47 PM
What is the best way to let the user click a row in the grid to see/modify the information related to the row (in a separate form), but still give the user the ability to cancel the action.

Here is the scenario:
1) The user click a row to display a detail form
2) The user modify the content
3) The user click a different row
4) The system warn the user that changes have been made and those changes will be lost if he decide to continue
5) The user decide to cancel the action
6) The postback does not occur.

Currently, if EnablePostBackOnRowClick is true, the action cannot be cancelled.

What are the other options to achieve the goal.

Thanks,

Hugues

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 22 Jul 2008, 05:44 AM
Hello Hugues,

You can go through the following online demo which demonsatrates a similar scenario.

Edit on double-click

Thanks
Princy.
Tags
Grid
Asked by
Hugues
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or