dynatree: how to pass uniqueId for WebForm_DoCallback(first param,...) to onActivate: function (node)

StackOverflow https://stackoverflow.com/questions/19958224

Question

I want to call WebForm_DoCallback method when node is clicked

$("#tree").dynatree({
    onActivate: function (node) {
        ..something..
        WebForm_DoCallback(uniqueId, callBackArgument, ReceiveCallBackData, "", null, true);
 });

The idea is to pass the node.key to a asp.net page. I am new in jquery and all that callback stuff, so please tell me if the whole approach is wrong :)

Was it helpful?

Solution

I found it!

I created javasrcript class and property that receive uniqueId of the page. Then i pass that property to WebForm_DoCallback method.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top