Hi.
I have ultracomboeditor. How can i keep selected item as first row when ultracomboeditor is opened?
For example, I have a list of years from 1950 to 2025 and I've chosen 1959. But on my next click into that ultracomboeditor, 2025 year comes first, so I need to scroll down to 1959 again.
Thank you
Helo Irina,
I followed the steps you suggested and was unable to reproduce the behavior you're describing. I added an UltraComboEditor to my Form with year values in it. However, the item selected remains in focus when I click on the UltraComboEditor.
I have attached the sample project I used to test this. Please test this project on your PC; whether or not it works correctly may help indicate the nature of this problem.
If the project does not work correctly, then the change in behavior is due to differences in your environment from mine and these differences can be anything from operating system version to the specific version of the Infragistics DLL versions used. My test was performed using version 20172.1000 in Infragistics for WindowsForms in 2017 Volume2. Please provide more details about your machine and version of the assemblies that you are referencing so that I can modify the environment that I am testing in to match yours.
If the project does show the product feature working correctly, then more information will be needed to reproduce the issue in a sample that can be used for debugging. It will help if you can provide a small, isolated sample application that demonstrates the behavior you are seeing. This can be done by either making the sample that I provided more like your application or by isolating the behavior from your application by removing dependencies on any third parties or databases.
Please let me know if I can provide any further assistance.
Sincerely,Sahaja KokkalagaddaAssociate Software Developer
UltraComboEditorSample.zip
Hello Sahaja.
I'm using Infragistics 13.1
May be it will be better to explain step by step.
1. I select value in drop down
2. I have an ultragrid that is filtered by selected in ultracomboeditor value
3. When I click inside ultrocomboeditor, see the image bellow
But I need item "2017/2018" to be the first in the list.
Hi Irina,
After reviewing the steps you posted here I got couple of questions:
1. Are you selecting 2017/2018 value in the dropdown?
2. If it the first item in the dropdown then cant you set the SortOrder property to Ascending in order to display it on top of the list?
this.ultraComboEditor1.SortStyle = Infragistics.Win.ValueListSortStyle.AscendingByValue;
3. Please elaborate on how you are filtering the UltraGrid. Are you calling the Grid filtering code after you select the value from dropdown? It will be helpful if you can modify the sample I attached to demonstrate this issue or if you have a sample for this issue then please send it to me.
I will further look into this issue as soon as I receive this information.