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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

ButtonEdit problem

Thread ID:





57993 Mar 15,2007 01:50 PM UTC Apr 3,2007 07:47 AM UTC WinForms 5
Tags: Tools
Asked On March 15, 2007 01:50 PM UTC


I have a problem that is driving me crazy and I hope it can be resolved easly. I have included a sample application. To reproduce error open Form1 in the Designer. Now press F5 to start application.

Form1 should crash in the designer during compile process with this message:

One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes.

The file F:\WindowsApplication2\WindowsApplication2\Form1.cs cannot be modified in the designer while building or debugging.

at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.OnModifying()
at System.ComponentModel.Design.Serialization.BasicDesignerLoader.OnComponentRemoving(Object sender, ComponentEventArgs e)
at System.ComponentModel.Design.ComponentEventHandler.Invoke(Object sender, ComponentEventArgs e)
at System.ComponentModel.Design.DesignerHost.RemoveFromContainerPreProcess(IComponent component, IContainer container)
at System.ComponentModel.Design.DesignerHost.Remove(IComponent component)
at System.ComponentModel.Design.DesignerHost.System.ComponentModel.Design.IDesignerHost.DestroyComponent(IComponent component)
at Syncfusion.Windows.Forms.Tools.Design.ButtonEditDesigner.host_LoadComplete(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.ComponentModel.Design.DesignerHost.OnLoadComplete(EventArgs e)
at System.ComponentModel.Design.DesignerHost.System.ComponentModel.Design.Serialization.IDesignerLoaderHost.EndLoad(String rootClassName, Boolean successful, ICollection errorCollection)
at System.ComponentModel.Design.Serialization.BasicDesignerLoader.OnEndLoad(Boolean successful, ICollection errors)
at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.OnEndLoad(Boolean successful, ICollection errors)
at System.ComponentModel.Design.Serialization.BasicDesignerLoader.System.ComponentModel.Design.Serialization.IDesignerLoaderService.DependentLoadComplete(Boolean successful, ICollection errorCollection)
at System.ComponentModel.Design.Serialization.BasicDesignerLoader.BeginLoad(IDesignerLoaderHost host)
at System.ComponentModel.Design.DesignerHost.BeginLoad(DesignerLoader loader)



Golda Rebecal [Syncfusion]
Replied On March 17, 2007 12:23 PM UTC

Hi Srdjan,

I apologize for the delay in responding.

I am able to reproduce the issue of the crash of Form1 in the designer with your sample. This is because of some code changes in the InitializeComponent method.

I deleted Form1 and recreated it again and everything works fine. Please have a look at the attached sample and let me know if this helps you.

Thanks for your interest in Syncfusion products.


Best Regards,

Replied On March 19, 2007 08:27 AM UTC

In my original sample, Form1 is derived from Form2.

public partial class Form1 : Form2

With this, your sample crashes as described. Unfortunately I need this line of code in my real project.

Any other ideas?

Golda Rebecal [Syncfusion]
Replied On March 19, 2007 01:41 PM UTC

Hi Srdjan,

The issue of designer being crashed when ButtonEdit is placed in a derived form and executed in debug mode has been identified as a bug and has been internally escalated. We will provide a fix timeline within 2 business days.

Thanks for being patient.

Best Regards,

Replied On March 23, 2007 01:40 PM UTC


Can you give me timeline for this issue??

Golda Rebecal [Syncfusion]
Replied On April 3, 2007 07:47 AM UTC

Hi Srdjan,

Sorry for the delay in responding.

Could you please create a Direct-Trac incident with the subject line "ButtonEdit problem - F57993" so that we can give more details regarding the fix?

Thanks for your interest in Syncfusion products.

Best Regards,


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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon 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.Close Icon