Rad Grid: Disable activity like insert, edit, update delete when a row is in edit mode.
Following are the scenarios i would like to describe for which the code errors out:
1) A newly added row is in edit mode. Now when the grid generated CommandItem for adding a new row is clicked, the page errors out.
Here the user shouldn't have been able to click the add new row link at all. This can be achieved by setting the display of the commandItem. Still the other permutation and combination exists where
2) Add new row link is clicked and a previously existing row is now clicked for edit. Here two rows are in edit mode. One is for adding a new row and other for editing a row. Now if we click on Insert button the page errors out. Here the user shouldn't have been able to click the edit button since already a row is in Insert mode.
Concluding, is there any way that we can control the activity for the links on Insert, Update, Edit where they cannot be clicked if any one activity is currently in progress?
KS
Following are the scenarios i would like to describe for which the code errors out:
1) A newly added row is in edit mode. Now when the grid generated CommandItem for adding a new row is clicked, the page errors out.
Here the user shouldn't have been able to click the add new row link at all. This can be achieved by setting the display of the commandItem. Still the other permutation and combination exists where
2) Add new row link is clicked and a previously existing row is now clicked for edit. Here two rows are in edit mode. One is for adding a new row and other for editing a row. Now if we click on Insert button the page errors out. Here the user shouldn't have been able to click the edit button since already a row is in Insert mode.
Concluding, is there any way that we can control the activity for the links on Insert, Update, Edit where they cannot be clicked if any one activity is currently in progress?
KS