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 Preeth,
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.
Hi Mike,
Can you gimme some sample code? so that it might help us to rectify the mistake..
Sample code of what exactly?
Setting the grid's DataSource to null is very simple:
grid.DataSource = null;
Clearing all the rows from your data source depends on what kind of data source you are using, so I can't provide sample code for that.
Thank you Mike.. I have few more doubts regarding the grid. Let me check the workings and will get back to you....
i have a datacolumn by the name 'Date'. The properties for this coulumn specific to timezone are
Datatype: System.DateTime
DateTimeMode: UnspecifiedLocal
Now, I need this DateTimeMode to be changed to Utc. But even if i chage it and save, it only chages to 'Unspecified' .
This is one of the column in the grid and we are facing timezone errors. Kindly advise.
Thanks
Preeth
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.