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?
Mike,
I have for the past day been trying without success to get the suggest functionality to work inside grid cells as suggested in the paragraph.
I am using databound UltraCombo, and I have assigned it to the EditorControl of the grid cell. AutoCompleteMode has been set to all possible values and both in the cell and in the UltraCombo itself. All I get, at best, is append functionality, not the desired suggest dito.
This behaviour with NetAdvantage for .NET 2009.1
Any suggestions?
Best regards,
Goran
Hi Lonnie,
lthibx said:So according to the documentation this does not work when using an UltraDropDown. I have attempted it with no success.
That is correct. This will not work with UltraDropDown.
lthibx said:Do you have any other suggestions in getting this to work correctly.
The solution is very simple and is explained quite clearly in the paragraph you posted here. Use an UltraCombo as the EditorControl instead of using an UltraDropDown as the ValueList for the column.
lthibx said:Do we need to submit an incident with support to try to get development to add this functionality to UltraDropDown?
Submitting an incident will not do any good. This is not a bug. The reason it does not work with UltraDropDown is that part of the suggest functionality must be handled by the editor in the grid cell. So in order for this to function, you must use an EditorControl so that it can integrate the functionality between the editor in the cell and the dropdown list - as stated in the paragraph you posted here.
I must interject as I am attempting to accomplish the same thing as the original poster. I am using an UltraDropDown, and want it to drop down automatically and suggest as I type in the grid cell. Currently I have not found a solution, The first link provided in fweeee's post from support (below), is for the AutoCompleteMode property of the UltraGridColumn:
<http://help.infragistics.com/Help/NetAdvantage/NET/2008.2/CLR2.0/html/Infragistics2.Win.UltraWinGrid.v8.2~Infragistics.Win.UltraWinGrid.UltraCombo~AutoCompleteMode.html>
The second to last paragraph states:
Setting the ValueList property can in certain circumstances interfere with the suggest mode functionality. If, for example, the property is set to reference an UltraDropDown control, suggest mode is disabled. Suggest mode support for multi-column lists is extended through the UltraCombo control; this can be enabled by assigning a reference to the UltraCombo control to the column's EditorControl property (which enables UltraCombo to serve an UltraGridComboEditor instance via its IProvidesEmbeddableEditor implementation), then setting the AutoCompleteMode property on either the column or the control.
So according to the documentation this does not work when using an UltraDropDown. I have attempted it with no success. Do you have any other suggestions in getting this to work correctly. Do we need to submit an incident with support to try to get development to add this functionality to UltraDropDown?
ThanksLonnie
I responded to you in your other post.
But just to be clear, using an UltraDropDown is the correct thing to do in the grid and is preferable to using an UltraCombo.
The support rep here must have misunderstood. It's true that the UltraDropDown control does not have an AutoCompleteMode property, but it does not need one - the property exists on the grid column.
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?