Hi
I have a RadMenu inside a RadGrid Template row. The goal is to use Eval() to configure properties of the menu items by operating on the grid row, not the menu. I understand that because the menu is a naming container itself this is not directly possible.
for example <telerik:radMenuItem text='<%# Eval("SomeFieldName") %>' /> and the result would be that the text of the menu item is taken from the value of the "SomeFieldName" column of the row that it appears on.
There is a similar thread here from five years ago:
http://www.telerik.com/forums/radgrid-template-column-and-binding-to-radmenu
which offers a workaround but the link to that workaround is dead.
So, five years later and this is still a problem. We need to be able to bind radmenu items to the rows of a radgrid. It seems really obvious to me that this is something everyone would want to do, and to do it easily.
What can you suggest as a practical solution?
Thanks
Chris
I have a RadMenu inside a RadGrid Template row. The goal is to use Eval() to configure properties of the menu items by operating on the grid row, not the menu. I understand that because the menu is a naming container itself this is not directly possible.
for example <telerik:radMenuItem text='<%# Eval("SomeFieldName") %>' /> and the result would be that the text of the menu item is taken from the value of the "SomeFieldName" column of the row that it appears on.
There is a similar thread here from five years ago:
http://www.telerik.com/forums/radgrid-template-column-and-binding-to-radmenu
which offers a workaround but the link to that workaround is dead.
So, five years later and this is still a problem. We need to be able to bind radmenu items to the rows of a radgrid. It seems really obvious to me that this is something everyone would want to do, and to do it easily.
What can you suggest as a practical solution?
Thanks
Chris