Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic delete a link programatically (Read 1622 times)
madhukampurath
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 10
Joined: Sep 15th, 2010
delete a link programatically
Sep 22nd, 2010 at 1:59pm
Print Post  
I am using ImageMap at client side. How do I delete a link programatically?

Thanks,

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: delete a link programatically
Reply #1 - Sep 22nd, 2010 at 2:19pm
Print Post  
Do you mean you need to delete it from JS on the client? The image will be generated on the server in any case, so you might submit programmatically with the link's index posted as a hidden value, and call diagram.Links.Remove on the server. I could also check if there's a way to use the NetDiagram's own script for deleting items when Del is pressed if you prefer that.
  
Back to top
 
IP Logged
 
madhukampurath
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 10
Joined: Sep 15th, 2010
Re: delete a link programatically
Reply #2 - Sep 29th, 2010 at 5:05am
Print Post  
Hi Stoyo,

This worked. Many thanks for your help.

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