I'm using a ComboBox attached to SqlDataSource. When the page is first loaded I would like the ComboBox text to be empty. Only after the user explicitly selects from the list it should be getting a value.
How can I change this behavior?
Avi
3 Answers, 1 is accepted
0
Rosi
Telerik team
answered on 03 Jul 2008, 02:23 PM
Hello Avi,
You can do this by setting the AllowCustomText property of RadComboBox to true.
<asp:SqlDataSource ID="SqlDataSource1"runat="server"ConnectionString="<%$ ConnectionStrings:TestDBConnectionString3 %>"SelectCommand="SELECT [itemName] FROM [myMenuLinks]"></asp:SqlDataSource>
</form>
If the problem persists, I think it will be best if you can open a support ticket and send us a simple running project (incl. CSS, images, skins, DB backup if needed and so on) demonstrating the problem (and step-by-step instructions on doing so). In that way we can reproduce and pinpoint the problems you're facing on our side, understand the logic of your application and provide a solution.