Hello!
Sorry for long title :). I have a button placed instide MasterTableView \ ItemTemplate which has attached server-side OnClick event. Normally in RadGrid event OnItemDataBound I can access databinded item for this row by using this:
but how can I access DataItem in OnClick event of Button which is inside ItemTemplate? If accessing is not possible then how can I pass this DataItem to this Button.
Thanks
Sorry for long title :). I have a button placed instide MasterTableView \ ItemTemplate which has attached server-side OnClick event. Normally in RadGrid event OnItemDataBound I can access databinded item for this row by using this:
MyClass dataItem = (MyClass )e.Item.DataItem; |
but how can I access DataItem in OnClick event of Button which is inside ItemTemplate? If accessing is not possible then how can I pass this DataItem to this Button.
Thanks