I'm trying to use ComboBox (http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/ComboBox/ComboBox.aspx) in my ASP.NET application. Everything works fine, but I cannot set programmaticaly the value of combobox, which will by displayed when the page is loaded. The problem is that I want to set value, which isn't among the values in dropdown list - this is essential, I don't want to display this value in the dropdown list. I tried comboBox's 'Text', 'SelectedValue', 'SelectedText' properties, nothing works. I tried even find TextBox control in combobox and set its text - though this sets the text of the TextBox (can be seen in the page HTML source) but the text is not displayed (I gues some javascript code cause this).
If this isn't possible, my goal is to make a one-value hint (evaluated from data source) to textbox which will be displayed as dropdownlist (you can click on it and the value will be inserted in the textbox). So you can suggest me another solution.
Please help.
Thanks Uiii