Hi Nencho,
1)I have a radcombobox with 2 columns as shown in
http://demos.telerik.com/aspnet-ajax/combobox/examples/default/defaultcs.aspx
Combobox is loaded in
OnItemsRequested event.
in the ItemsRequeasted event,text and values are moved as below.
item.Text = (string) dataRow["ProductName"];
item.Value = dataRow["ProductID"].ToString();
item.Attributes.Add("UnitPrice", unitPrice.ToString());
item.Attributes.Add("UnitsInStock", unitsInStock.ToString());
item.Value += ":" + unitPrice;
In the program I can access both Productname and unitprice,if I select the values from dropdown box(Both in Indexchanged event and Ontextchanged event).
But if I types in the combobox(Ontextchanged event),and press enter,I am not able to get the value of second column.
I need to move the second column value to a textbox in either case.
But on textchanged event,I am not able to get the 2nd column,if the user does not select from the dropdown list.
2)On typing a value in the above combobox,a table is loaded with all the data in the dropdown.But if user enters a value that doesn't match the records in the dropdown,I dont want to show the empty dropdown.
Hope you understood.
Please let me know if you need any more clarifications.
Thanks,
Soumya