How to access RadMenuItem added during runtime from Javascript / Jquery?

  c#, javascript, jquery, telerik

I am adding RadMenuItem to ContextMenu during runtime to Telerik RadFileExplorer like below :
I want to know how i can access this radmenuitem button using JS/ Jquery. I want to enable/disable this button at client side :

RadMenuItem lastModifiedDate = new RadMenuItem("Last Modified Date");
lastModifiedDate.PostBack = false;               
lastModifiedDate.Value = "LastModifiedDate";
FileExplorer.TreeView.ContextMenus[0].Items.Add(lastModifiedDate);
FileExplorer.GridContextMenu.Items.Add(lastModifiedDate.Clone());

aspx:

 <telerik:RadFileExplorer runat="server" ID="FileExplorer" </telerik:RadFileExplorer>

Source: Ask Javascript Questions

LEAVE A COMMENT