I have this Telerik radgrid
| Encryption Key | Password to encode | Edit column |
-----------------------------------------------------
| A_Key | A_password | Edit button |
When I press the edit button, you can edit the encryption key and the password via textboxes (which works fine).
What I want to do is:
-When I press the edit button, I want to add an imagebutton next to the encryption key textbox that will allow me to generate a key by clicking it, like so:
| Encryption Key | Password to encode | Edit column |
------------------------------------------------------------
|[A_Key ][Generate] | [A_password ] | [Save] |
Is there a way to add a button inside an editor cell of a Telerik RadGrid?
I have looked everywhere, I haven’t found any way to do this, even on the Telerik website/forums.
Thanks!
Finally, I have used a solution similar to Dhaval’s. Using server side controls wasn’t optimal for me, so I used jquery to generate keys client side.
What this will do is it will create a column for the button only. Using CSS, I can make it look like a single column.
I’m not displaying column lines, so it looks like 1 large column rather than 2 small columns.
Thanks to all for your answers!