Page Index Toggle Pages: [1] 2  Send TopicPrint
Hot Topic (More than 10 Replies) Not able edit text on node in image map mode (Read 16786 times)
Pratik
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 27
Joined: May 15th, 2014
Not able edit text on node in image map mode
May 15th, 2014 at 6:57am
Print Post  
Mindfusion not allow to edit text on selected node in image mode
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Not able edit text on node in image map mode
Reply #1 - May 15th, 2014 at 7:02am
Print Post  
This is supported since version 5 of NetDiagram:
http://mindfusion.eu/Forum/YaBB.pl?num=1363112634
  
Back to top
 
IP Logged
 
Pratik
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 27
Joined: May 15th, 2014
Re: Not able edit text on node in image map mode
Reply #2 - May 15th, 2014 at 7:23am
Print Post  
Thanks for quick reply,

i'm using version 5.0.5 so is there any way to do this?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Not able edit text on node in image map mode
Reply #3 - May 15th, 2014 at 8:28am
Print Post  
It requires the following:

- InteractivityExtender on the page, e.g.:

<ndiag:InteractivityExtender runat="server" TargetControlID="diagramView" />

- AllowInplaceEdit enabled:

<ndiag:DiagramView runat="server"
ID="diagramView"
AllowInplaceEdit="true"

- CTRL+Clicking on a node to start editing its text.

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


I Love MindFusion!

Posts: 27
Joined: May 15th, 2014
Re: Not able edit text on node in image map mode
Reply #4 - May 15th, 2014 at 9:03am
Print Post  
Thanks its work for me
how to disable default shape property of diagram?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Not able edit text on node in image map mode
Reply #5 - May 15th, 2014 at 9:16am
Print Post  
If you want to disable drawing shapes on the diagram canvas, set Behavior = DoNothing.
  
Back to top
 
IP Logged
 
Pratik
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 27
Joined: May 15th, 2014
Re: Not able edit text on node in image map mode
Reply #6 - May 15th, 2014 at 9:23am
Print Post  
Its not working.
I do not allowed user draw shapes on diagramview by holding mouse click and draw shape.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Not able edit text on node in image map mode
Reply #7 - May 15th, 2014 at 9:41am
Print Post  
Check if you aren't resetting it to LinkShapes or DrawShapes at a later point. It might get reset also if you are loading a file using DiagramView.LoadFrom* methods.
  
Back to top
 
IP Logged
 
Pratik
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 27
Joined: May 15th, 2014
Re: Not able edit text on node in image map mode
Reply #8 - May 15th, 2014 at 9:49am
Print Post  
i found the solution

diagramView.Behavior = Behavior.DrawLinks

will fix the problem
  
Back to top
 
IP Logged
 
Pratik
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 27
Joined: May 15th, 2014
Re: Not able edit text on node in image map mode
Reply #9 - May 15th, 2014 at 10:29am
Print Post  
how to handle node double click on server side in image map mode?
if i handle it from client side then i'm not able to select any node from diagramview Smiley
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Not able edit text on node in image map mode
Reply #10 - May 15th, 2014 at 12:52pm
Print Post  
Unfortunately adding a client-side double click handler prevents posting the page back upon click, and selection will be disabled since is done on server side. If you need that much client-side processing, better use Canvas mode. Otherwise you could probably call our postback script from the end of the double click handler function to post and select the node in ImageMap mode, as long as posting and reloading the page does not interfere with what you need done in the handler.
  
Back to top
 
IP Logged
 
Pratik
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 27
Joined: May 15th, 2014
Re: Not able edit text on node in image map mode
Reply #11 - May 15th, 2014 at 1:27pm
Print Post  
Can u send me code for

Otherwise you could probably call our postback script from the end of the double click handler function to post and select the node in ImageMap mode, as long as posting and reloading the page does not interfere with what you need done in the handler.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Not able edit text on node in image map mode
Reply #12 - May 16th, 2014 at 7:19am
Print Post  
Code
Select All
function onNodeDoubleClicked(sender, args)
{
    // process double click
    // ...

    // post back to redraw selection
    window.__doPostBack("diagramView");
} 



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


I Love MindFusion!

Posts: 27
Joined: May 15th, 2014
Re: Not able edit text on node in image map mode
Reply #13 - May 16th, 2014 at 7:46am
Print Post  
Its works but the new problem is that when i not double click on node still i 'm not able select the node from diagramview
  
Back to top
 
IP Logged
 
Pratik
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 27
Joined: May 15th, 2014
Re: Not able edit text on node in image map mode
Reply #14 - May 16th, 2014 at 8:43am
Print Post  
is there anyway so i can handle node double click event on server side in image map mode
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: [1] 2 
Send TopicPrint