Looking for a solution with a telerik RadGrid where I need to determine if a GridDataItem is in edit mode.
Preferably using JavaScript.
I know how to do this with VB, but I want to achieve it on the client side.
Additionally, I would appreciate assistance on how to iterate through all items in the Grid and retrieve the selected item
using JavaScript.
Feeling stuck at the moment... Any help would be greatly appreciated.
2) Encountering an issue with the OnCommand function in JavaScript
There is a commandItemTemplate in the radgrid.
and I have added a client event:
<ClientEvents OnCommand="OnCommand" />
Function:
function OnCommand(sender, args) {
if (args.get_commandName() == 'EditSelected') {
....}
The OnCommand function does not trigger for any of the commands in the CommandItemTemplate, however, it works for other commands like (Edit, Update, Delete, ...).
I am uncertain why this is happening. Any assistance would be much appreciated.