Hello,
I have a RadGrid for which I use the OnItemCommand event. As expected, in the event handler I can find the GridDataItem from which the event was sent in the GridCommandEventArgs.Item.
Now I add a client side event handler for the event ClientSettings-ClientEvents-OnCommand. After this (javascript) event handler is called, a postback occurs and the server side OnItemCommand event is fired. But the GridCommandEventArgs.Item is now always referring to the first item in the grid and not the item that caused the event to be fired!
Am I doing something wrong?
Cheers,
Paul.
I have a RadGrid for which I use the OnItemCommand event. As expected, in the event handler I can find the GridDataItem from which the event was sent in the GridCommandEventArgs.Item.
Now I add a client side event handler for the event ClientSettings-ClientEvents-OnCommand. After this (javascript) event handler is called, a postback occurs and the server side OnItemCommand event is fired. But the GridCommandEventArgs.Item is now always referring to the first item in the grid and not the item that caused the event to be fired!
Am I doing something wrong?
Cheers,
Paul.