I haven't found the solution yet, but maybe anyone coped with that and knows how to solve it.
The problem described below occurs when Grid.DisplayLayout.Override.AllowRowFiltering is on.
The form contains an UltraWinGrid control and a toolbar (UltraToolbarsManager) above it.
First, FilterUIType shouldn't be equal to FilterRow value.
Second, set the column filter to any value that returns no visible rows ( no matter how - through UI or through code)
Then, if grid AddRow or Template Add Row is turned off (no matter before or after changing the filter) - the toolbar freezes ( though, moving or trembling the form may help ) - the ToolClick event works but mouse hover effect disappears and the whole toolbar ceases to redraw.If you turn on the AddRow, then set the filter to any value that fetches 0 data rows, the toolbar would stay alive, but then - if you turn off the AddRow (without changing the filter, so Grid.Rows.VisibleRowsCount = 0 ) the toolbar would freeze.If you have several such forms placed into UltraDockManager panes, setting the filter (the way mentioned above) in one of the grids freezes all the toolbars (also in neighbour panes).
In MDI Application a filter from an SDI form also freezes main toolbar.Turning on the AddRow or setting the filter to any value that fetches more than 0 data rows brings the toolbars back to life. Everything worked fine in 9.2 but after updating to 10.1 we have this issue. Updating 10.1 to the latest patch didn't help. We also managed to reproduce this bug in a small sample application.
Hi,
I tried this out and it works just fine for me. I'm attaching my sample here so you can try it out on your machine and see if you get the same results.
All I did is run the sample and filter the grid on "(Blanks)" so there are no rows. The toolbar works just fine.
Hi
I attached a small sample application.
The filter is set in code, and AllowRowFiltering is initially off. So, the toolbar buttons are alive.
Then when you press the START BUG button, AllowRowFiltering becomes true and the toolbar freezes.
We reproduced that on several workstations inder Win 7. (Maybe the OS version counts).
Looks like we're facing a misterious bug -)
Do you mean pressing the button does not affect the toolbar behavior at all? I also mean mouse hover and redraw effects (just making things more exact) .
Concerning platforms - within our workgroup this bug was reproduced on Win 7 32 bit, Win 7 64 bit, Win Vista 32 bit and Win XP.
All the platforms have russian locale settings ( maybe that may affect? ) All the machines are quite different, so we haven't figured out any more reasons this bug may occur.
The latest service release installed ( NetAdvantage_WinForms_20101.2018_SR dated April 23 ) didn't help.
We'll create a screencast and post it here later.
Alexander Novikov said:Do you mean pressing the button does not affect the toolbar behavior at all? I also mean mouse hover and redraw effects (just making things more exact) .
Yes. I run the app and mouse over the toolbars buttons and they get highlighted and I can click the buttons just fine. Then I push the "START BUG" button and then mouse over the toolbar again and there is no difference in the behavior.
My best guess for this is that there is some other software on the machine that might be causing some sort of conflict. Do you have some Visual Studio Add-ins installed on all of the machines that are showing this problems? Or maybe some kind of styling application that hooks into windows on the machines?
Hi again,
one more detail - the application culture set to US English instead of Russian does not affect the behaviour.
Hello,
I have downloaded and tested your sample. I was able to replicate the issue, and I will log this issue with our developers.
Please let me know if you have any further questions
Sincerely,
Matteo
Developer Support Engineer
I've received the message that the case regarding this problem had been closed.
I have only one question - if the problem was fixed then where and when can I get the patch or some service release.
Best,
Alexander