We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

upgrade issue to 4.302.0.30...missing method

Thread ID:

Created:

Updated:

Platform:

Replies:

62531 Jun 18,2007 06:21 AM Jun 20,2007 07:17 AM ASP.NET Web Forms (Classic) 1
loading
Tags: DiagramWebControl
sumo
Asked On June 18, 2007 06:21 AM

LinkTool aTool = new LinkTool("aTool"); nolonger works in ver4.302.0.30


method available is public LinkTool(DiagramController controller);

Any workaround available??

thanks

Meera Fathima [Syncfusion]
Replied On June 20, 2007 07:17 AM


Hello Suj,

I am sorry about this delay in responding. And regarding your query, I am afraid that it is difficult to implement the custom link tool that has the public LinkTool(string name) initialize method. However if your intension is to specify the tool name within the initialize method, you can do this by creating the custom version of Link tool and use public MyLinkTool( DiagramController controller,string name ): base( controller ) initialize method in that custom link tool class.

Below is the sample code snippet for your reference.

// Create customized link tool class.
public class MyLinkTool : LinkTool
{
public MyLinkTool( DiagramController controller,string name )
: base( controller )
{}
}

// Register the custom link tool in the main form.

MyLinkTool myLnkTool = new MyLinkTool(this.diagram1.Controller,"MyLinkTool");
myLnkTool.Name = "MyLinkTool";
this.diagram1.Controller.RegisterTool(myLnkTool);

// And activate the custom linktool where ever you want( for e.g. from the menu item click event).

private void menuItem2_Click(object sender, System.EventArgs e)
{
this.diagram1.ActivateTool("MyLinkTool");
}

Please let me know whether the above informations are helpful to you. And feel free to contact us if you have any more questions regarding this. We will be glad to assist you.

Thanks for your interest in Syncfusion products.

Best Regards,
Meera.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;