Windows Develop Bookmark and Share   
 index > Windows Forms Data Controls and Databinding > One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding y
 

One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding y

I not know resolve this matter.Help me. Description of error:

The type 'DevComponents.DotNetBar.ExpandablePanel' has no field named 'AccessibleRole'.
HideEdit

at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.Error(IDesignerSerializationManager manager, String exceptionText, String helpLink)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeAssignStatement(IDesignerSerializationManager manager, CodeAssignStatement statement)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager manager, CodeStatement statement)

nguyenkiet2004  Wednesday, January 30, 2008 2:36 PM

The 'DevComponents.DotNetBar.ExpandablePanel'isNOT standard .NET control,theerroris clear that this control does not support the AccessibleRole property, you can contact the vendor for more information.

Zhi-Xin Ye  Monday, February 04, 2008 9:15 AM
Ken Tucker  Wednesday, January 30, 2008 6:50 PM

The 'DevComponents.DotNetBar.ExpandablePanel'isNOT standard .NET control,theerroris clear that this control does not support the AccessibleRole property, you can contact the vendor for more information.

Zhi-Xin Ye  Monday, February 04, 2008 9:15 AM

I created a new class that inherits from the TreeView controland when I drop it into a new UserControl I get the error message you're discussing. The line of code itreports choking on is:

this.tvAssemblyModel.Name = "tvAssemblyModel";

This custom TreeView inherits from the original System.Windows.Forms.TreeView control so the property exists. I have added the property "ModelDOM" to give my TreeView a chunk of XML that it will display. When I construct a similar UserControl with the default TreeView control this problem goes away so I know the issue is with my custom TreeView control class. The exact error text is:

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.

Object reference not set to an instance of an object.

Hide

at System.ComponentModel.ReflectPropertyDescriptor.SetValue(Object component, Object value)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializePropertyAssignStatement(IDesignerSerializationManager manager, CodeAssignStatement statement, CodePropertyReferenceExpression propertyReferenceEx, Boolean reportError)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeAssignStatement(IDesignerSerializationManager manager, CodeAssignStatement statement)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager manager, CodeStatement statement)
I've been scratching my head over this issue all afternoon. Are there any hair loss forums for these kinds of problems?

scottdennis  Tuesday, November 25, 2008 10:37 PM
I have the same error with a custom control that inherits from Panel.
I rebuild the project and the problem is fix until I run again the solution.
It seems to be a bug, since the references exist and I do not nothing else but rebuild the project every time.

somebody give a solution please.
talizmelf  Wednesday, July 22, 2009 9:07 PM

You can use google to search for other answers

Custom Search

More Threads

• Some chars can't be typed when using EditingControl
• Canceling DataGridView Selection Change
• Table Adapters
• Print multiple pages in a PrintDocument
• website validation
• Help pls: DataSet, DataGridView, DataAdapter, CommandBuilder
• Read a database from one form and update from another?
• TableAdapter Wizard generates No Update/Delete Procedures
• Insert New Row Into DataTable Problem. Please Help !!!!
• Negative currency in binded datagridview column...(#_#)