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. Image for the cookie policy date
close icon

Unable to fix this exception

I am using a Diagram Control in one of my WindowsForms.
When ever I build the application, it is raising the error:

'Syncfusion.Windows.Forms.Diagram.DiagramController' does not contain a definition for 'FixtureOKToAddNode'

It is with the designer.

How to Fix this error?
Please help me out..:)


5 Replies

AD Administrator Syncfusion Team May 18, 2009 11:44 AM UTC

Hi Murali,

Thanks for choosing Syncfusion Products.Let me know the more details about the error otherwise provide the steps for reproducing the error.It useful for us.



Regards,
Gowri


MK Murali Krishna May 19, 2009 04:57 AM UTC

Hi,

Thnaks for the response. Here are the sequence of steps I followed:

1. I used the Diagram Control in one of my Forms using Drag & Drop from Syncfusion Controls.

2. Set the Rulers Visibility to true.

3. When I build the solution it is always throwing the error:
'Syncfusion.Windows.Forms.Diagram.DiagramController' does not contain a definition for 'FixtureOKToAddNode'

4. When I comment the following line in the designer, the applruns without errors:
this.DieDiagram.Controller.FixtureOKToAddNode = null;
Here DieDiagram is the DiagramControl.

5. The designer code for the Diagram Control:

//
// DieDiagram
//
this.DieDiagram.AllowDrop = true;
this.DieDiagram.Controller.FixtureOKToAddNode = null;
this.DieDiagram.Controller.PasteOffset = new System.Drawing.SizeF(10F, 10F);
this.DieDiagram.Dock = System.Windows.Forms.DockStyle.Fill;
this.DieDiagram.LayoutManager = null;
this.DieDiagram.Location = new System.Drawing.Point(0, 25);
this.DieDiagram.Model = this.model1;
this.DieDiagram.Name = "DieDiagram";
this.DieDiagram.ScrollVirtualBounds = ((System.Drawing.RectangleF)(resources.GetObject("DieDiagram.ScrollVirtualBounds")));
this.DieDiagram.ShowRulers = true;
this.DieDiagram.Size = new System.Drawing.Size(502, 479);
this.DieDiagram.SmartSizeBox = false;
this.DieDiagram.TabIndex = 0;
this.DieDiagram.Text = "diagram1";

6. As long as I comment the FixtureOKToAddNode line, it is working fine. But whenever the solution is rebuilded or cleaned, it is raising the error.

7. Basically what is this FixtureOKToAddNode and What does it expect?

I hope I am clear. Please respond soon.

Thanks
Murali


GM Gowri Manohari D Syncfusion Team May 20, 2009 09:04 AM UTC


Hi Murali,

Let me know your Syncfusion Product version.

Regards,
Gowri








MK Murali Krishna May 20, 2009 12:53 PM UTC

The Version Number is: 6.3.0.32


GM Gowri Manohari D Syncfusion Team May 21, 2009 07:01 AM UTC

Hi Murali,

I have followed steps which you have sent for reproducing the error.But the below line not generated in my application

this.diagram1.Controller.FixtureOKToAddNode = null;

Let me know whether you set any other properies of the diagram control.Otherwise test with another application and place diagram newly and run it.We cannot reproduce your issue.Please send some more details about your issue.


Regards,
Gowri

Loader.
Live Chat Icon For mobile
Up arrow icon