I'm having problems with UltraDropDowns (used in grids) since my recent upgrade from 8.1 to 8.2. I'll try to outline these issues:1) UltraDropDown (used on a grid) fields do not auto complete. When I type an "A" into the UltraDropDown, it does not suggest something starting with A to me.2) When I type in an existing value exactly (which is in the dropdown list), it does not recognise it. That is, in the grid.BeforeCellUpdate event, the dropDown.SelectedRow property is null.I have done a little searching of the forums into this, and have found some reference to an AutoCompleteMode that was added (although I'm not sure if this was added in 8.1 or 8.2). I cant find such a property for the UltrarDropDown, but I can for the UltraGrid columns. They appear to be set to "None" for every column. I have attempted to change this to "Default" for one column. After saving it, and re-opening the form, it is back to "None". It seems to be resetting itself back after I save it.
Whats going on here? Why is auto complete not working, why is it not accepting typed in values? What has changed?
I think the issue of the AutoCompleteMode being set to None is a known bug. It may already be fixed in the latest Hot Fix, so you should download it and try it out. If that does not help, you should Submit an incident to Infragistics Developer Support.
Thanks. I already have the latest hotfix, so I logged an incident with support.
The reply I got was less then encouraging:----SUPPORT REPLY START ----
Thank you for submitting your query with Infragistics. I would like to let you know that AutoCompleteMode does not work in reference to UltraDropDown control. Please go through the following online help article that explains "AutoCompleteMode Property":<http://help.infragistics.com/Help/NetAdvantage/NET/2008.2/CLR2.0/html/Infragistics2.Win.UltraWinGrid.v8.2~Infragistics.Win.UltraWinGrid.UltraGridColumn~AutoCompleteMode.html>
I would suggest you to use ultracombo control, please have a look upon the following online help article:<http://help.infragistics.com/Help/NetAdvantage/NET/2008.2/CLR2.0/html/Infragistics2.Win.UltraWinGrid.v8.2~Infragistics.Win.UltraWinGrid.UltraCombo~AutoCompleteMode.html>
Hope this helps you. Thank you for your patience in this matter.
Considering that when I started using Infragistics controls (v7.3) I was told by by an infragistics employee on these forums that I should be using UltraDropDowns on grids, not ultraCombo's, this is a very dissapointing answer.
Whats going on here? Is the support guy right? Or does he/she not know what they are talking about?
I am having a somewhat similar issue. I have an UltraGrid Column editor control set to an UltraComboEditor. I have set the AutoCompleteMode to SuggestAppend on both the ComboEditor and the grid column.
When I run the app and type in the grid column - it populates the cell with the matching value and highlights the whole value as it should.
My problem is that it sets the cursor to the end of the highlighted text rather than the beginning.
e.g - The values in the comboeditor are - Public, On Demand, Sealed.
If I type in a P then it shows Public with the 'ublic' highlighted. But the cursor sits to the right of 'c' rather than next to the 'P'.
so then if I type a 'u' it puts it at the end of the word thereby making my selection invalid since 'Publicu' is not in the list.
I have tried to set the property in code as Goran said above but still no success.
Please help!
The only reason I can think of why that would happen is if you also have CellMultiline set to true for the column. You can't do AutoSuggest and CellMultiline together.
Thanks a bunch Mike!
I have been struggling with this issue for the last 2-3 months and tried everything.
The CellMultiline property for this column is set to Default - but the one for the overall Grid was set to True.
I changed the property to false for this column and it works!!! ~smile~
Thanks again!!!
It's not obvious that the two properties don't work well together. It all stems from a quirk in the behavior of the TextBox control, which fires different events depending on whether it's multiline or not. Whehn multiline is true and you overwrite text in the TextBox, the TextChanged event fires twice, whereas when Multiline is false, it only fires once.
Hi Mike,
How can i make CellMultiLine and AutoComplete work together as i have a requirement with such functionality
Thanks
Aarti
Hi,
One more thing. If i cannot use MultiLine and type ahead together then how do i wrap the cell text if it is greater than the width of cell. I do need the type ahead functionality and want to wrap my cell text without it getting truncated after it extends cell width.
I'm sorry, but there is no way that I know of to get these two features to work together properly. The TextBox control fires events differently when Multiline, and there's no way for the control to detect this. So these two features are not supported together.
I have certain items in the list which have there description in square brackets eg: DEL[New Delhi] in such a scenerio i have to display code 'DEL' in first line and '[New Delhi]' in the newLine
There is no way to do this and no known workaround. Why do you need CellMultiline set to true when all of your values are a single word, anyway?
the functionality i am looking for is:
Example:
Assume that my datasource contains the following names: Abc, Abcd, Bangalore, Bengule, Delhi, Dear.
In UltraGrid column i have set CellMultiLine to true.
But when i set CellMultiLine to false
Can you suggest some work around through which Correct Type Ahead and CellMultiLine set to true can be achieved.