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)
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.
Hello BBanet,
For me is difficult to say where is the problem. Could you please tell me what is your component`s version and do you have any installed service release. Also are you able to send us sample that reproduce your issue. I`ll be glad to research it for you.
I`ll wait your response.
Thanks and Regards
Thanks for the feedback. If you have any questions, feel free to write us.
Regards
I rebuilt the user control with the embedded grid and it seems to be working. Not sure why, but I think I am set here. If it pops up again, I will post a sample. Thanks.