- Home
- Forum
- ASP.NET Web Forms (Classic)
- Problem with Line Diagram
Problem with Line Diagram
- Nov 28, 2007 10:08 AM UTC
- Dec 3, 2007 12:34 PM UTC
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
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
SIGN IN To post a reply.
3 Replies
RS
Rajarajeswari S
Syncfusion Team
December 3, 2007 10:20 AM UTC
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
RS
Rajarajeswari S
Syncfusion Team
December 3, 2007 12:04 PM UTC
Hi Sasi,
Please ignore my Previous update.
Regards,
Raji
RS
Rajarajeswari S
Syncfusion Team
December 3, 2007 12:34 PM UTC
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
SIGN IN To post a reply.
- 3 Replies
- 2 Participants
-
SA Sasi
- Nov 28, 2007 10:08 AM UTC
- Dec 3, 2007 12:34 PM UTC