I have a strange problem
I use vs 2008 and wingrid in clr 2.0 version in the newest version. The problem here has happended two times for me.
Suddenly when I press f5 and run my program the grid is split in two identical areas. Like two row scroll regions. And I can't figure out how to remove it. I have tried in code to set in InitializeLayout:
e.Layout.MaxColScrollRegions = 1; e.Layout.MaxRowScrollRegions = 1;
in code, but it does not makes any difference. Last time I have the problem, I delete the grid and set in a new one. But this is not an option for me anymore, because I have set a lot of design parameters.
What can I do? It seems for me to be a bug in the grid
More info just posted. I have just found out that the regions are visible in design time just like the split control. So how can I get rid of them?
This happened to me twice this week. Hopefully you're using C#. What I did was went into the designer code of the form and searched for references of the grid control you're talking about. Eventually you'll notice there is an extra scroll region created, just delete that line of code.
Thank you. I saw it too late that that the extra regions also was visible in design mode. There were actually 4 of them.
But before that, I reset the layout, and loss the properties I have set. I know it was stupid, but I am new to Infragistics controls.
My next idea was to look at the designer code, and you have the same experience. So thats nice. Yes I program in c# and I love it.
/Ole Inselmann
If you see a split scroll region at design-time, then you can remove it by just clicking and dragging the spliiter bar to the left or top edge of the grid. And the same thing works at run-time.
I've done that before and all is good, but in this case the control appears normal and has 1 scroll region. Once you run the application then 2 scroll regions appear. The first time it happened I started thinking it was a GDI bug or I had gone cross eyed from too much coding.