views:

410

answers:

1

Hello,

I have a rad grid where I can insert/update and delete items of data.

i have set up a CommandItemTemplate with a button that, when clicked will put the grid in edit mode.

What I would like to do is have the same functionality but from an external asp.net button. If I can get this button to trigger the radGrid_ItemCommand event then I could get it working. But how do I pass the relevant GridCommandEventArgs from a asp.net button ?

Any help is always appreciated

Truegilly

+1  A: 

Hey,

It wouldn't fire ItemCommand, but I think you change the edit status by adding the row index to edit via EditIndexes collection (http://stackoverflow.com/questions/674307/telerik-radgrid-how-do-i-default-to-edit-mode). This wouldn't invoke the command event I don't believe, but the editing event.

HTH.

Brian