Here's the problem:
I'm trying to do an Active Directory Explorer with Asynch. jQuery TreeView. In standard ASP.NEt it was fairly easy with builtin TreeView and some events in code-behind.
The problem is that I don't exactly know how can I pass different arguments depending on which treeview leaf is being expanded. Based on this example http://view.jquery.com/trunk/plugins/treeview/demo/async.html I can see that there is a very simple if with PHP and the 'root' argument is passed on page load.
Eg.
I have this tree:
+A
+B
+C
and i want to call MyController/MyAction/B when expanding B. Should I add some method in
<script type="text/javascript">
$(document).ready(function(){
$("#black").treeview({
url: "source.php"
toggle: do_something_here?
})
});
</script>
I'm kinda stuck in here, so any help would be appreciated.