when i click tree view node am getting id by giving alert
$('.treeview a').on('click', function () {
alert(this.id);
});
but how to save that id session , i want to use in controller
i have tried this
$('.treeview a').on('click', function () {
@Session["id"]=this.id;
});
but am not getting value