The UltraGrid has filters available for each column, one of the filter options is custom. When you click on the custom option it opens a dialog window. This dialog has a bug whereby the ok and cancel buttons are exceptionally long and stretch beyond the boundaries of the dialog box. In fact the ok button is out of sight and you have to enlarge the dialog to reach it and to be able to use it.
Hello Bojin,
From the screenshot I noticed that you are using .NET 5, I’ve tested the custom filter dialog under it with HeaderIcons, FilterRow and the UltraGridFilterUIProvider and couldn’t manage to reproduce the behavior where the buttons are extending.
I am attaching a screenshot as well as a small sample application. Please test it on your side and let me know how it behaves. If this is not an accurate demonstration of what you are trying to achieve, please feel free to modify it and send it back to me along with steps to reproduce. Alternatively, if the behavior cannot be replicated, please feel free to provide your own sample. Remove any external dependencies and code that is not directly related to the issue, zip your application and attach it.
Having a working sample on my side, which I can debug, is going to be very helpful in finding the root cause of this behavior.
Thank you for your cooperation.
Looking forward to hearing from you.
Please let me know if you have any questions.
Regards, Ivan Kitanov
DotNet5UGCustomFilter.zip
Hello IvanI am having exactly the same Problem as Bojin.The Issue only appears when App Styling with an isl File is applied. However there is no option in the isl Designer to set a maximum width. As I can see from your Sample and the Image from Bojin, he seems to be using app styling where as you are not.I spent already 4 hours searching through our code, UltraGrid Designer, Properties of the UltraGrid and inside the isl File with absolutely no hint what could be causing it or how I could prevent this behavior.We are using .net 6, WFA, C#.When Appstyling is dissabled:When AppStyling is enabled:
Hello IvanAfter alot of testing, I found out that the Issue must be from the ISL File. We based our isl File of the NoireModerne.isl from the provided Infragistics examples. I tested the Issue with other isl Files and the Buttons were perfect. However if I try with the NoireModerne.isl File, the Buttons are just like in the Pictures I provided. This surely can't be intended behavior. I tried to find the Setting in the ISL editor, but I couldn't find the corresponding setting. Any Idea what setting in the isl File is causing this?
with the Aero.isl File:
with the NoireModerne.isl File:
Hello Lucas,
I have tried to reproduce this behavior, however I am still not able to reproduce it. I am using the IG theme from the AppStylist with a WinForms C# .NET 6 application. I’ve tested the custom filter dialog under it with HeaderIcons, FilterRow and the UltraGridFilterUIProvider and couldn’t manage to reproduce the behavior where the buttons are extending.
Looking forward to hearing from you. Regards, Ivan Kitanov
NET6CustomFilterAppStylist.zip