Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Multiple selection on NetDiagram (Read 3919 times)
Pierre
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 4
Joined: Apr 21st, 2009
Multiple selection on NetDiagram
Apr 21st, 2009 at 7:44am
Print Post  
Hi,
Althought I set my Diagram.Selection.AllowMultipleSelection property to False, when I try to select mutliple nodes I get an JS exception on "document.ElementById()".
Do you have any idea of the the reason of this exception ?
Thanks for your help.
Pierre.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Multiple selection on NetDiagram
Reply #1 - Apr 21st, 2009 at 11:01am
Print Post  
Hi,

What ClientSideMode are you using?

Stoyan
  
Back to top
 
IP Logged
 
Pierre
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 4
Joined: Apr 21st, 2009
Re: Multiple selection on NetDiagram
Reply #2 - Apr 21st, 2009 at 11:48am
Print Post  
Hi Stoyan,
I'm using ImageMap ClientSideMode.
Pierre.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Multiple selection on NetDiagram
Reply #3 - Apr 21st, 2009 at 12:02pm
Print Post  
Hi Pierre,

Multiple selection cannot be disabled in ImageMap mode at this time. We'll implement that in the next few days. We don't know why that document.ElementById() error would happen though, is there any line number and .js file name shown with the message?

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Multiple selection on NetDiagram
Reply #4 - Apr 22nd, 2009 at 2:59pm
Print Post  
Hi,

This version lets you disable multiple selection in ImageMap mode:
https://mindfusion.eu/_beta/netdiag_301pre.zip

AllowMultipleSelection is not saved in the viewstate yet, so you will have to set it every time upon Page_Load.

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


I love YaBB 1G - SP1!

Posts: 4
Joined: Apr 21st, 2009
Re: Multiple selection on NetDiagram
Reply #5 - Apr 24th, 2009 at 1:01pm
Print Post  
Hi Stoyan,
I did not try your update version but I've some details of the previous error:
I use tableNode. It seems to work with shapeNode !?
Here are the javascript line code appearing when the error occures :
Code
Select All
document.getElementById('_mfusion_DiagramView1_ClickedItem').value = '0:-1:-1:-1';__doPostBack('DiagramView1','_mfusion_DiagramView1_ClickedItem'); 


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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Multiple selection on NetDiagram
Reply #6 - Apr 24th, 2009 at 3:10pm
Print Post  
Hi Pierre,

Okay, we'll check what happens with tables.

Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint