Different texts for the command button column

2 posts, 0 answers
  1. Amy
    Amy avatar
    1 posts
    Member since:
    Oct 2014

    Posted 02 Oct 2014 Link to this post


    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.
  2. Radoslav
    Radoslav avatar
    1564 posts

    Posted 06 Oct 2014 Link to this post

    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.


    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.

Back to Top