Profile Picture

Problem with Expand/Collapse nodes

Posted By Marcelo French 12 Years Ago
Author
Message
Marcelo French
explanationmark Posted 12 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)

Group: Forum Members
Last Active: 12 Years Ago
Posts: 7, Visits: 1
Hello I am new to this forum. I have followed this example Expand / Collapse Decorator in http://examplesaspnetdiagram.nevron.com/ but when I click to collapse or expand the node does nothing. I'm debugging the application but the code never calls the method in code behind NDrawingView1_AsyncClick. My aspx has this code:

AjaxEnabled = "true" AsyncAutoRefreshEnabled = "true" ClientId = "NDrawingView1"
AsyncCallbackTimeout = "1000" OnAsyncClick = "NDrawingView1_AsyncClick"
OnQueryAjaxTools = "NDrawingView1_QueryAjaxTools" ClientIDMode = "AutoID" />

What am I doing wrong? Help please!

Nevron Support
Posted 12 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009

Hi Marcelo,

Please, make sure that in the code behind you activate the ajax mouse click callback tool just as in the example you are talking about:

protected void NDrawingView1_QueryAjaxTools(object sender, EventArgs e)

{

    // Configure the client side tools

    NDrawingView1.AjaxTools.Add(new NAjaxMouseClickCallbackTool(true));

}



Best Regards,
Nevron Support Team



Marcelo French
Posted 12 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)

Group: Forum Members
Last Active: 12 Years Ago
Posts: 7, Visits: 1
Hi, thanks for answering my post. I have that line of code in the code behind but still the diagram does not perform any event by clicking on it.

I've added the relevant lines of code in the web.config

Nevron Support
Posted 12 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009

Hi, in that case there's something else missing in your project. Please, send the whole sample project to our support e-mail (support {at} nevron [dot] com). We will check it out and tell you what's wrong.



Best Regards,
Nevron Support Team



Marcelo French
Posted 12 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)

Group: Forum Members
Last Active: 12 Years Ago
Posts: 7, Visits: 1
Hey. I have sent the email with an attachment to support@nevron.com.

Thank you very much



Similar Topics


Reading This Topic