Hi all,
I have a TextEditor with a DropDownEditorButton to show another control (in my case a grid, but that's not important).
How can I change the width of the dropped down control after it was displayed?
Setting Control.Width and similar have not effect.
Thanks for any hint,
Anca
Hello nkojuharov,
Did you have the time to test your application against the latest service release of v11.2 or the trial version 12.1 of Net Advantage. Please let me know of the result when you check this.
Yes, it should be solved in 11.2 and 12.1. Didn't have time to check it though.
Copy & Paste from my case:
"Issue "104092: DropDown size does not honor PreferredDropDownSize while dropped down" has been addressed in service release versions WinForms_11.2.20112.2074, WinForms_12.1.20121.2008.
The following additional notes have been provided regarding this issue:
We are experiencing the same issue with 11.1.20111.1003. Has this issue been resolved in the latest release? If not, is there a workaround that could be used until a fix is available?
Thanks,
bi_acorbos said:Basically I need a UltraCombo with FIlterUIType = FilterRow. Could you confirm this is still not possible in the latest release?
That is correct, this is not supported with the current version.
bi_acorbos said:With version 10.3.20103.2115, I tried setting PreferredDropDownSize with no success. Is there a Refresh method which I could call afterwards to make it paint with the new size?
If setting the PreferredDropDownSize while the button is dropped down does not work, then that seems like a bug. I'll forward this thread over to Infragistics Developer Support and ask them to check it out.
Hi Mike,
yes, the dropdown needs to change size base on user action.
Basically I need a UltraCombo with FIlterUIType = FilterRow. Could you confirm this is still not possible in the latest release?
So, I try to simulate this functionality with a DropDownEditorButton which shows a grid. Exactly like in your UltraCombo, I want the user to be able to resize the columns in the dropdown grid and if he does so, I want to programatically change the width of the dropdown to show all columns and no white space.
With version 10.3.20103.2115, I tried setting PreferredDropDownSize with no success. Is there a Refresh method which I could call afterwards to make it paint with the new size?
Demo project attached.