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.

Problem with Line Diagram

Thread ID:

Created:

Updated:

Platform:

Replies:

70130 Nov 28,2007 05:08 AM Dec 3,2007 07:34 AM ASP.NET Web Forms (Classic) 3
loading
Tags: DiagramWebControl
Sasi
Asked On November 28, 2007 05:08 AM

Hi guys,

Im using a Diagram Control with fixed width and scrollbars property as true.

when i draw a line Node Near the border of diagram control and use nugde properties.The line Node moves i.e crosses the border of Diagram Control.

when i do the same with any other node (eg. Rectangle etc) the node stops near the border exactly.

I expect Line node to behave the same as other nodes.

Can i know why line node doesn't stop at the border of diagram control.


I attached a jpg image to show the problem. I highlighted the line and decision node with red border.

The line Node crossed the border where as decision did not cross

I hope u guys understood my problem

Regards
Sasi




line.zip

Rajarajeswari S [Syncfusion]
Replied On December 3, 2007 05:20 AM



Hi Vinay,

Thanks for using Syncfusion products:

You can have Template columns by creating separate Template Class. Please refer the below code snippet which illustrates to create template column:

If e.TableCellIdentity.Column.Name = "Column2" Then
Dim dropdown As Syncfusion.Web.UI.WebControls.Tools.DropDownCalendarControl = New DropDownCalendarControl()
'Here we adding the DropDownListBox programatically using ITemplate Interface
Dim mytemp As TemplateClass = New TemplateClass(dropdown)
e.TableCellIdentity.Column.EditItemTemplate = mytemp
End If
Public Class TemplateClass : Implements ITemplate
Private m_ctrlChildControl As Control = Nothing
Public Sub New(ByVal ctrlChildControl As Control)
m_ctrlChildControl = ctrlChildControl
End Sub
Public Sub InstantiateIn(ByVal container As Control) Implements ITemplate.InstantiateIn
container.Controls.Add(m_ctrlChildControl)
End Sub
End Class

Please refer the sample from the below link which illustrates the above:

http://websamples.syncfusion.com/samples/grid.web/5.2.0.25/i38780/main.htm

Please let me know if this helps you out.

Regards,
Raji



Rajarajeswari S [Syncfusion]
Replied On December 3, 2007 07:04 AM


Hi Sasi,

Please ignore my Previous update.

Regards,
Raji


Rajarajeswari S [Syncfusion]
Replied On December 3, 2007 07:34 AM


Hi Sasi,

The issue suspected to be a defect. We have created a new Direct trac incident ID- 39529. Please follow this incident to get more details regarding the issue.

Regards,
Raji



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.

;