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.

size of handles and custom tooltips

Thread ID:

Created:

Updated:

Platform:

Replies:

89522 Aug 27,2009 04:26 AM Sep 2,2009 05:20 AM ASP.NET Web Forms (Classic) 5
loading
Tags: DiagramWebControl
Larssec
Asked On August 27, 2009 04:26 AM

Hello,

I'd appreciate some help with the following questions (Essential Diagram v.6.402.0.15):

1. I'm setting the SizeToNode property of the labels to true. The labels fit the nodes, but the resize handles of the nodes still fit the original label size. Is there a way to keep labels inside the node and the handles fitting the size of the node?

2. By default the tooltip of a node seems to show its name. How do you customize the tooltip?

3. I'm also setting the BackgroundStyle property of the model to Texture. I need to fit the BackgroundStyle.Texture image to the size of the model (A4), but the BackgroundImageLayout property doesn't seem to be available.

Thank you,
Larssec.


Gowri Manohari D [Syncfusion]
Replied On August 29, 2009 05:53 AM

Hi Larssec,

Thank you for your interest in Syncfusion products.

1. For your first issue we have logged the defect report for the issue. We will update you once the defect is fixed.

2. You can use set custom tooltip by using NodeAltTextAndUrl() method. Please refer the below code snippet

rect.Tag = New NodeAltTextAndUrl("This is my first node", "")

3. In our latest version 7.3.0.20, have two new properties for setting Background image such as DiagramWebControl1.Model.BackgroundImage and DiagramWebControl1.Model.BackgroundImageLayout. Please make use of it.

Regards,
Gowri

Larssec
Replied On August 31, 2009 02:15 AM

Hi Gowri,

thanks for your help.

Regards,
larssec

Larssec
Replied On August 31, 2009 06:37 AM

Hi Gowri,

One more thing. Our application populates the Tag property of every node with a custom object that provides some context. Can we still customize the tooltips?

Thanks,
Imax

Gowri Manohari D [Syncfusion]
Replied On September 2, 2009 04:44 AM

Hi Imax,

Diagram control does not support any other property for custom tooltip. We can set the tooltip only by using "Node.Tag" property. So we cannot set both custom object and Tooltip at the same time.

Regards,
Gowri

Larssec
Replied On September 2, 2009 05:20 AM

Thanks for your help.

Regards,
Imax.

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.

;