|108617||May 2,2013 07:35 AM||May 10,2013 09:28 AM||ASP.NET Web Forms (Classic)||1|
Thanks for contacting Syncfusion forums.
We suggest you to create MenuModel using properties model and assign the dynamically created node id in “ContextMenuTargetId” of MenuModel. Please refer the below given code snippet,
public ActionResult Index()
MenuModel myModel = new MenuModel();
myModel.Mode = MenuModel.ModeType.ContextMenu;
myModel.ContextMenuTargetId = "treeview node id";
ViewData["myMenuModel"] = myModel;
You may also refer the below given link for more details regarding this requirement,
kindly let us know if you have any other queries.
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.