Hi Elisha,
One way of achieving that would be on server-side. Here is a short demo video:
RadGrid enable button for selected row
To do that, set the ClientSettings-Selecting-
AllowRowSelect and ClientSettings-
EnablePostBackOnRowClick properties to
True. (marked with yellow). These properties will enable selecting rows as well as do a post back if they are clicked.
Assuming that there is a GridButtonColumn as well as a GridTemplateColumn, both with buttons (marked with blue). Wire up the PreRender event for the RadGrid. (marked with green)
RadGrid Markup:
C# - Code behind.
In the PreRender event handler loop through all the grid items, access the Buttons of each control by following the instructions from
Accessing Cells and Rows article, and set their
Enabled property according to the item's selected state.
If in case, you would like to do this on client-side, please let us know. That can be done too, in a slightly different way.
Kind regards,
Attila Antal
Progress Telerik
Get
quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.
Learn More.