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

Different texts for the command button column

1 Answer 11 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Amy
Top achievements
Rank 1
Amy asked on 02 Oct 2014, 05:07 PM
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

1 Answer, 1 is accepted

Sort by
0
Radoslav
Telerik team
answered on 06 Oct 2014, 11:54 AM
Hi Amy,

I am sending you a simple example which demonstrates the desired functionality. Please check it out and let me know if it helps you.

Looking forward for your reply.

Regards,
Radoslav
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
General Discussions
Asked by
Amy
Top achievements
Rank 1
Answers by
Radoslav
Telerik team
Share this question
or