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
Hi Anca,
I'm not sure I understand what you want to do. Why would you want to change the size of the control after it's displayed and not before? Are you saying that your dropdown needs to change size based on some action that the user takes?
What version of the controls are you using? If it's fairly recent, you could set the PreferredDropDownSize property on the DropDownEditorButton.
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.
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.
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?
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.