Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic node id (Read 1357 times)
kumarsrmt
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 23
Joined: Sep 29th, 2009
node id
Oct 15th, 2009 at 6:11pm
Print Post  
Hi syoto

How we knowdefault shpeid.

thatmenas in server side if we drag a txtbox we will get its id.

1.how we will get in clientisde if we drag a node or nodes
2.if it exists doesthe id same for a shape.that means if drag to 2or 3 circle does the id of cirlces same?can we get diffrent ids for  same symbols....can you provide sample code
« Last Edit: Oct 16th, 2009 at 3:33am by kumarsrmt »  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: node id
Reply #1 - Oct 16th, 2009 at 5:41am
Print Post  
Hi,

The control does not assign IDs to the nodes. You can generate your own IDs and assign them to the Tag property of nodes. Aren't you working on the same project with these guys anyway - you already got two ways to generate IDs:

http://mindfusion.eu/Forum/YaBB.pl?board=netdg_disc;action=display;num=125535544...
http://mindfusion.eu/Forum/YaBB.pl?board=netdg_disc;action=display;num=125545698...

Another option might be to create a service method that inserts a corresponding record into a db table, and returns the id generated by SqlServer if you have an auto-increment key field in the table.

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