We are using RadContextMenu in our product.
I am using Contextmenu within Repeater, The problem I am facing is, I have tried to add client side events in itemdataboud and itemcreated but nothing works.
I am adding it like:
contextMenu.Attributes.Add("OnItemClicked","return test1();");
But the test1 has never fired.
Note here that I don't care about sender and args parameters.
Can someone please tell me how to add client side attribute in server side code, although the above statement worked for other radcontrols like RadNumericTextbox.
Any help will be greatly appreciated, I have tried to find solutions for many hours now but nothing help, please.
I am using Contextmenu within Repeater, The problem I am facing is, I have tried to add client side events in itemdataboud and itemcreated but nothing works.
I am adding it like:
contextMenu.Attributes.Add("OnItemClicked","return test1();");
But the test1 has never fired.
Note here that I don't care about sender and args parameters.
Can someone please tell me how to add client side attribute in server side code, although the above statement worked for other radcontrols like RadNumericTextbox.
Any help will be greatly appreciated, I have tried to find solutions for many hours now but nothing help, please.