I'm using jquery plugin for context menu
http://postimg.org/image/e2wz5umcj/
so when the delete option (to delete a treeview node) is clicked it should call the asp.net event, however I'm unsure of how to do this because I'm using jquery not asp.net tags and "runat=server" thing :/
here is the jquery code
<script type="text/javascript" src="/scripts/jquery.contextmenu.js"></script>
<script>
var menu3 = [
{'Delete':{
onclick: function (menuItem, menu) {
if (confirm('Are you sure?')) {
_doPostBack("delete");
return false;
}
},
icon: '/images/delete_icon.gif',
disabled:false
}
},
{'Rename':{
//onclick:function(menuItem,menu) { if(confirm('Are you sure?')){$(this).remove();} },
icon:'delete_icon.gif' ...
Go to the complete details ...