Hello All,
I have used various infragistics controls like Ultragroupbox, checkbox etc, in my application.
Application is working fine but the form does not display any control on the designer instead it displays some error in XML format on the designer.
It creates lot of problem for me when I need to change properties for any control... I have to go to designer.cs file and check which control is it.
I don't know why it won't display the controls on the designer.
Is it due to some DLL conflict?
Need help to resolve this problem
Thanks,
Rahul Jain
Well, if it's in the same project, then this can't be an issue with the project references.
Does your UserControl have a parameterless constructor? I've seen cases where the designer cannot open a form because the form itself doesn't have a parameterless constructor, although in such a case, the error message is usually more descriptive.
The Form uses the User Control and It is the form that does not display any control be it the user control used on the form or any other standard control.
The User Control that is used in the form is present in the same project but in different folder.
So there's a UserControl with some Infragistics controls on it... is it the UserControl designer that will not open? Or a form containing an instance of the UserControl?
If it's a form, is the UserControl defined inside the same project as the form? Or is it a separate project in the same solution? Or a completely different solution?
Thanx for the reply Mike......
I also think that the error is due to some invalid reference in the project but I am unable to find which assembly is conflicting.
When I change some properties for a user control that uses infragistics controls, it works fine.....
But next time when I reopen the form, again it displays error which I posted in the earlier post.
I am unable to find the exact reason for the error.
Anyways thanx for your help....
Hope will find the solution soon.....
Hm, that's one I have not seen before. There's no mention there of any of the Infragistics assemblies, so this looks like the form is somehow corrupt. It appears to be failing when it's trying to find a reference to an assembly, but I don't even see anything here about which assembly it is looking for.
Does this happen in any new projects you create? Does it happens with any of the samples for NetAdvantage?
My best guess is that there is something wrong with the project references. You might want to just remove all of the Infragistics project references from the project and re-add them and see if that helps. Make sure that none of them have CopyLocal set to true, also.