Problem with Expand/Collapse nodes


Author
Message
Marcelo French
Marcelo French
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
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
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K

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
Marcelo French
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
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
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K

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
Marcelo French
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
Posts: 7, Visits: 1
Hey. I have sent the email with an attachment to support@nevron.com.

Thank you very much
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search