Hi,
I would like to know which method/object I can call/instantiate to launch the grid designer at runtime. Also, I need to be able to launch the UltraCombo designer!
Thanks!
James
In that case, you probably need to add a Design attribute to your derived class that points to the UltraCombo designer.
I think it would look something like this:
[Designer("Infragistics.Win.UltraWinGrid.Design.UltraComboDesigner, Infragistics2.Win.v8.2.Design, Version=8.2.0.XXXX, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb")]
You will have to change some of the numbers to use the correct versions, of course.
My problem is at design time. I don't need the designer at runtime. I missed the fact that the start of this thread was about runtime, but the last few posts are about design time.
Even if it's possible to launch the designer for one of our controls at runtime (which, from earlier posts in this thread, I don't believe is possible), an application using this approach would not be distributable. It would require distributing the design-time assemblies for our controls, which is specifically disallowed by the Infragistics License Agreement.
Any idea if it is possible to start the designer for an inherited UltraCombo? Instead of using a UserControl I inherit from the UltraCombo directly.
I also tried an alternative: add another dummy UltraCombo to the inherited UltraCombo to be able to start the designer. Then at runtime copy the layout from the dummy. But I haven't been able to find a proper way to do this either.
The designer is not accessible via the Start button, however you can access it by clicking on the small triangle at the top right of the grid and a dropdown will appear where you can select Designer Dialog... or you can right-click on the grid and select UltraGrid Designer
Erwin