Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
45
Designer Error in Existing Project
posted

I have an UltraGrid and an UltraDataSource in a user control.  I have a test app in a VS2010 solution that hosts this control without issue.  When I host the control in an  existing project (that also happens to be a user control) I get an error in the designer.

My existing control was a VS2008 project, so I converted to a VS2010 project and that had no impact.  The existing control is VB.Net and the user control hold the Infragistics components is C#.  Anyone have any thoughts on what could be throwing the designer off?  

object not set to an instance of an object

at System.ComponentModel.ReflectPropertyDescriptor.SetValue(Object component, Object value)
at Microsoft.VisualStudio.Shell.Design.VsTargetFrameworkPropertyDescriptor.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) 

Parents
No Data
Reply
  • 45
    posted

    Further testing shows it must have something to do with embedding the control withing a control.  In a test app that works when putting the user control on as form, it does not work if you put it on another user control.

Children