Greetings,
I have tried following the example:
http://www.telerik.com/help/aspnet/grid/radgrid-telerik.webcontrols.radgrid-itemcreated_ev.html
I'm using an asp:ImageButton within a RadGrid GridTemplateColumn and I set the CommandArgument property of the ImageButton in the code-behind (either during OnLoad or OnItemCreated of the RadGrid). However, in the Click/Command event handlers of the button, the CommandArgument value has been reverted to String.Empty.
I've stepped through the process and the ImageButton.CommandArgument does get set (to a guid) correctly, but alas this value is gone when I need it.
Any ideas would be greatly appreciated.
-Ryan
I have tried following the example:
http://www.telerik.com/help/aspnet/grid/radgrid-telerik.webcontrols.radgrid-itemcreated_ev.html
I'm using an asp:ImageButton within a RadGrid GridTemplateColumn and I set the CommandArgument property of the ImageButton in the code-behind (either during OnLoad or OnItemCreated of the RadGrid). However, in the Click/Command event handlers of the button, the CommandArgument value has been reverted to String.Empty.
I've stepped through the process and the ImageButton.CommandArgument does get set (to a guid) correctly, but alas this value is gone when I need it.
Any ideas would be greatly appreciated.
-Ryan