Hi,
I am working on telerik rad grid and relatively new using it in asp.net platform.
I have a command button called 'delete' in my grid, which allows users to delete rows from the grid which internally sets a flag indicating that those rows are the deleted ones.
There is a checkbox outside the grid which allows the users to include both deleted and active rows. So when the check box is clicked, I want the "delete" command column to display as "undelete" for the deleted rows and "delete" for the active rows.
Clicking on "undelete" will set the flag as active in the database and the command text should change back to "delete".
How can I achieve this?
Appreciate your replies.
Thanks
Amy
I am working on telerik rad grid and relatively new using it in asp.net platform.
I have a command button called 'delete' in my grid, which allows users to delete rows from the grid which internally sets a flag indicating that those rows are the deleted ones.
There is a checkbox outside the grid which allows the users to include both deleted and active rows. So when the check box is clicked, I want the "delete" command column to display as "undelete" for the deleted rows and "delete" for the active rows.
Clicking on "undelete" will set the flag as active in the database and the command text should change back to "delete".
How can I achieve this?
Appreciate your replies.
Thanks
Amy