Page Index Toggle Pages: 1 [2]  Send TopicPrint
Hot Topic (More than 10 Replies) Cstomizing ShapeListBox (Read 12943 times)
Mohammad
YaBB Newbies
*
Offline


Hello everybody :)

Posts: 32
Joined: Oct 2nd, 2009
Re: Cstomizing ShapeListBox
Reply #15 - Oct 7th, 2009 at 11:16am
Print Post  
Now it works Smiley

Thank's a lot Stoyan.
  
Back to top
 
IP Logged
 
Mohammad
YaBB Newbies
*
Offline


Hello everybody :)

Posts: 32
Joined: Oct 2nd, 2009
Re: Cstomizing ShapeListBox
Reply #16 - Oct 8th, 2009 at 4:13am
Print Post  
Hi

It seams this version has some bugs!!
I send an Ajax request to the server in onNodeCreated event. But it raises an error!

for example this code has error on second line:
Code
Select All
function onNodeCreated(sender, args) {
  args.getNode().setTag("123");
  ajaxRequest("DoSomething");
}
 



and if you comment the first line (setTag), it doesn't raise any error!!!

I don't have any problem with previous version of JDiagram.



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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Cstomizing ShapeListBox
Reply #17 - Oct 8th, 2009 at 7:25am
Print Post  
What kind of error and what's the code for that ajaxRequest method?
  
Back to top
 
IP Logged
 
Mohammad
YaBB Newbies
*
Offline


Hello everybody :)

Posts: 32
Joined: Oct 2nd, 2009
Re: Cstomizing ShapeListBox
Reply #18 - Oct 9th, 2009 at 4:14am
Print Post  
I use Telerik RadAjaxPanel to send an ajax request. problem is that when I comment the first line (args.getNode().setTag(...)) it works well. Otherwise it raises this error:

Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Input string was not in a correct format.

I'm not sure it is JavaApplet bug or Telerik component bug. If you want I can send a sample project containing this bug.

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Cstomizing ShapeListBox
Reply #19 - Oct 9th, 2009 at 5:52am
Print Post  
Are you handling the SerializeTag and DeserializeTag events on the server?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Cstomizing ShapeListBox
Reply #20 - Oct 9th, 2009 at 7:02am
Print Post  
Actually there was a bug in the build we sent you for the ShowLabels property. Try this version instead:
https://mindfusion.eu/_beta/applet_formatfix.zip
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 [2] 
Send TopicPrint