Hi Dimitar ,
Thanks for your help.
The example you sent me has a little different feature in the combobox.
First of all my combobox is in a Ajax panel and also my combobox is allowing to put a hint and filter it and show only the matching text contained anywhere inside the Item text values of combobox.
I do not know if there is any tweaking required in it. Here is the code for Items Requested:
rcbMaterials_ItemsRequested(
ByVal sender As Object, ByVal e As
RadComboBoxItemsRequestedEventArgs)
Dim dtMaterialsRcb As New
dtMaterialsRcb = SATS.Company.GetMaterials(CurrentUser.ConnectionString, CurrentUser.CompanyID, e.Text)
sender.DataSource = dtMaterialsRcb
sender.DataTextField =
sender.DataValueField =
sender.DataBind()
End
Here please note that the e.Text in the argument to populate the datatable is filtering inside my Query with %e.Text% and it works fine.
But when we even remove the selected item the e.Text is = "" and the Query returns all the records. But I do not know why it still saves the
last selected item after we remove it by backspace.
I saw that I cannot attach a Mpeg file of 15 seconds to show how it is behaving for me while I am debugging.
I may later send you the link of the Mpeg file while I am doing the debugging. But see if you can help me in my specific feature combobox
I was trying to see your website today (Feb 14/2011) and just saw one load on demand example matching my scenario in your website:
http://demos.telerik.com/aspnet-ajax/combobox/examples/loadondemand/automaticloadondemand/defaultvb.aspx
Here is what I did and the combobox DOES NOT CLEAR the value by removing it by Backspace. Please try these steps:
Enter a hint say 'da' in EntityDataSource combobox. You will see one filtered record with the name: 'Daniel Tonini'.
Now select the name and remove it by pressing backspace and then tab out into the next field.
You will see the value 'Daniel Tonini' stil sitting there.
Can you
please help as this is not the correct behaviour! There must be an option to De-Select the combobox item!!!
Thanks
Sanjay