This project is read-only.


ContextMenu doesn't work with Telerik mvc v.2012.1


I was using ContextMenu with Telerik mvc v.2011.3
After upgrade to Telerik mvc v.2012.1 ContextMenu stop working.
Javascript error: "treeview is undefined".
in : $(e.liveFired).data('tTreeView')
Closed Feb 17, 2012 at 8:23 PM by jddevight
Thank you Amdrey. I've separated the telerik.extensions.js into 2 folders. One folder contains the older version that I started in 2011 Q2 and a new folder that contains a new version that I have started that supports 2012 Q1. I am moving the functionality over one by one as I test it (and in some cases rewrite). I have applied your change in Change Set: 12966.


andreydruz wrote Feb 17, 2012 at 11:16 AM

For now I fix it this way:

in line 1042
change: var treeview = $(e.liveFired).data('tTreeView');
to: var treeview = $(this).parents('.t-treeview').data('tTreeView');

in line 1111
add: $contextMenu.remove();

wrote Feb 17, 2012 at 8:23 PM

wrote Feb 14, 2013 at 2:02 AM

wrote May 16, 2013 at 7:11 AM