Hi,
I have a strange behavior with the ultragrid. Unfortunately, it does not happens everytime so it is hard for me to find the source of the problem. I did try it in a simple solution and it does not happen. Anyway, I'd like to have your thoughts about it:
I added an ultragrid to a user control and edited the grid to have a customized display (header caption, wrapheader text, filter column, fixed headers...). When I add the user control onto the "Main Form", some properties are not shown (header caption didn't follow, neither the wrap header text option, but the row summaries is activated and the fixed header as well).
(By the way, I wanted to add another snapshot to this thread to show the result in the Main Form, but when I want to add another picture, it overwrites my first picture).
Anyway... The only lead I have is that this grid is populated from a datatable that is already used by another grid in the Main Form (my goal was to take off the grid from the main form and to put it into a user control for encapsulation).
Please feel free to ask for more information on my problem, but as I said, it's hard for me to replicate it in a test solution and I can't give you my whole project for you to see directly what happens so I hope you'll be able to help me anyway.
Thanks,
Olivier
Hi Boris,
I finally found my problem and I wanted to tell you what it was (see image attached).
It was a component from the visual basic powerpacks 3.0 that caused the problem. As soon as I took off that component from my user control, the "main form" displayed the same thing as the user control. And when I put back the powerpack shape component, the Main Form "loses" its display...
I don't know if it's a compatibilty issue between the ultragrid and the powerpacks but next time I won't use this shape component.
Thanks for your time,
Hello Olivier,
I tried to reproduce any issues on my side with this project and I am not able to so, for now. Please let me know if you find anything that could lead to the mentioned issues, like steps to reproduce and/or events on which they occur.
In fact, there are no issues with the image you sent me! It's strange because I opened this morning the solution I sent you and it works fine like on your side. The bad thing is that it is still not working on my real solution. I tried to delete all files from bin and obj folders but it doesn't change anything.
I cannot say at this point that it is an ultragrid related problem or a visual studio problem so I won't ask you to dig any further in this problem.
Thanks a lot for your help,
I attached an image showing what I see when I run your project. Could you please let me know where exactly is the issue?
Hi Boris and thanks for your reply.
I did a copy of my program and took off everything that wasn't concerning my problem, and attached it to this email. Hope it will be useful for you.
If you need more information just tell me.