I have an ultracomboeditor, when the user enter 1st character the list should display , when the user enters 2nd character the list with 1st+ 2nd charcter should display
for e.g. if "bu" is entered, all the items starting with bu should appear
this.ultraComboEditor1.AutoCompleteMode = Infragistics.Win.AutoCompleteMode.Suggest;
or
this.ultraComboEditor1.AutoCompleteMode = Infragistics.Win.AutoCompleteMode.SuggestAppend;
I have set the ultracomboeditor as follows:
this.cmbPipeline.DropDownStyle = Infragistics.Win.DropDownStyle.DropDownList;this.cmbPipeline.SortStyle = Infragistics.Win.ValueListSortStyle.AscendingByValue;this.cmbPipeline.AutoCompleteMode = Infragistics.Win.AutoCompleteMode.SuggestAppend;
But when i enter "b" the dropdown shows the items starting with b and when i try to enter "bu" it shows the items starting with "u" and not with "bu"
please suggest
Hi Mike,
We have a setup in the application like, if we click Referesh button it will fetch data with respect to the values present in the ultracomboeditor. So, for each value of ultracomboeditor, the grid will display the respective values. We now want to clear the grid when value changes in the ultracomboeditor from one to another. For example, ultracomboeditor value is 'A' and the respective values are now displayed. Now, I am changing it to 'B' the grid should be empty until i click refresh. kindly advise.
Thanks
Preeth
Hi Preeth,
You can clear the grid by setting it's DataSource to null or by removing all of the rows from the DataSource.
We tried these possibilities and it does not work in our application architecture. We just need the grid to be emptied when changing the value in the UCEditor.
Kindly advise.
I don't understand. Why doesn't it work?
I suppose you could also hide every grid row or column, but that doesn't make a lot of sense.
Can you gimme some sample code? so that it might help us to rectify the mistake..
Thank you Mike...
I don't think there is any control that will do this natively. The UltraNumericEditor is close, but I don't think there is any mask character that will permit you to enter a digit, and % sign or a * sign in the same place.
So I think your best bet would be to use UltraTextEditor and handle the KeyDown event to validate the key entries made by the user.
Reqmt: We need only numerical value to be entered with * or %.
I have used a ultratexteditor in my app. It should accept only integers and these two symbols '*' , '%'. We have restricted the editor to throw error while alphabets are entered. Now, apart from the mentioned two symbols, if any other symbol is entered into it editor should trow error.
Can you suggest?
Or
Is there any other control where we can restrict only to integers and those two symbols. We tried with ultranumeiceditor and ultramaskededit. Not comfortable for our app as these symbols(wild car search) cannot be included with the integers.
Kindly advise..
thanks
i have a date column in the grid with calendar fitted for filter. But when filtered using a date from the calendar, it is not filtering.
Kindly tell me the property to make the filter option using calendar to work.
I am sorry. Not able to completely explain.