Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic JDiagram,NodeClicked (Read 3589 times)
qq414521
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 7
Joined: Sep 24th, 2009
JDiagram,NodeClicked
Sep 24th, 2009 at 2:30am
Print Post  
Hi,
im using JDiagram in ASP.NET.
I wana trigger an postback event when user select one node in diagramView(client side).
I wrote some code for "NodeClicked" event,while it doesnt work.
  
Back to top
 
IP Logged
 
qq414521
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 7
Joined: Sep 24th, 2009
Re: JDiagram,NodeClicked
Reply #1 - Sep 24th, 2009 at 3:13am
Print Post  
It seems that "NodeClicked" doesnt trigger webPage postback at all.
Anyone can help?
Plz.
Orz

  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: JDiagram,NodeClicked
Reply #2 - Sep 24th, 2009 at 5:22am
Print Post  
Are you using our ASP.NET control in JavaApplet mode, or have integrated the JDiagram applet into ASP.NET page yourself? In any case, the applet does not post back automatically when a node is clicked. You must call a JavaScript function that posts the page, such as form.submit() or the function returned by Page.GetPostBackClientEvent.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
qq414521
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 7
Joined: Sep 24th, 2009
Re: JDiagram,NodeClicked
Reply #3 - Sep 24th, 2009 at 5:28am
Print Post  
Ye,got it.
Thanks.
I would turn to Jscript instead.
  
Back to top
 
IP Logged
 
qq414521
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 7
Joined: Sep 24th, 2009
Re: JDiagram,NodeClicked
Reply #4 - Sep 24th, 2009 at 5:54am
Print Post  
Well.
Is there any way to get the inplace text of the node which u select,using javaScript?
Thx.
(i wana integrate the JDiagram applet into my ASP.NET page)
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: JDiagram,NodeClicked
Reply #5 - Sep 24th, 2009 at 6:03am
Print Post  
Try with args.getNode().getText().

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint