I've recently taken over maintenance of a Windows desktop application that uses several Infragistics controls, most notably the Ultragrid.
I've run into what I think is an odd issue. A request came in to change the dimensions of a form to increase the size both vertically and horizontally. On the surface that should be no big deal. I increased the size of the form (in design view by pulling the form's border taller and wider) and gave it a quick test to see ho wit looked. That's when I noticed that the layout for the Ultragrid and Ultracombo controls on the form had somehow been lost.
The Ultragrid went from this:
To this (please ignore the yellow highlighting):
Now, the previous developer chose to handle all the formatting of the Infragistics controls using the control's designer and not the InitializeLayout event which is my preferred way of handling things.
The previous developer also chose to use UltraDataSources which I have not used before (but I don't think that has anything to do with what I am experiencing).
So, I guess my question is has anyone experienced this type of behavior before? And what can I do to prevent it from occurring again?
For the short term, to get the layout formatting back, I undid my changes and simply added code to increase the form's width and height programmatically instead of using the Window's design view.
Any help is appreciated!
Thank you. I look forward to a sample project. If it becomes too much work just send over the related code you believe was causing the issue and I will investigate this further
Hello Michael,
I'll see if I can put together a sample project. The project we are seeing this issue in is rather large so It'll take some paring down to get things to a reasonable size.
To answer your second question, yes, if we undo our changes things are back to normal and the layout formatting is back to what it was before.
And you are correct, we are hiding quite a few columns when we display the data to to user. When they click on a row the data in the hidden columns is displayed in an area at the bottom of the form.
Thanks,
Jim
Hello James,
Thank you for contacting Infragistics. As of now there aren't any known issues when resizing the form. Please provide a sample project that demonstrates the behavior. If you revert your changes do the issues go away? Also, the image shows additional columns, however the formatting doesn't appear to be any different (eg. font is black/bold) and there is not enough data to see a difference between the cells formatting. Please clarify.