This is a migrated thread and some comments may be shown as answers.

problem about RadComboBox

1 Answer 16 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
jiang
Top achievements
Rank 1
jiang asked on 14 Oct 2008, 08:54 AM
Hi sir
    I have download the RadControls for ASP.NET AJAX Q2 2008. but it doesn't work when I use it as following:

<

telerik:RadComboBox ID="RadComboBox1" Runat="server">

 

 

<ItemTemplate>

 

 

<input type="checkbox" id="checkBox" />

 

<%

# DataBinder.Eval(Container, "Text") %>

 

 

</ItemTemplate>

 

 

<Items>

 

 

<telerik:RadComboBoxItem runat="server" Text="Item1" Value="Item1" />

 

 

<telerik:RadComboBoxItem runat="server" Text="Item2" Value="Item2" />

 

 

<telerik:RadComboBoxItem runat="server" Text="Item3" Value="Item3" />

 

 

</Items>

 

 

</telerik:RadComboBox>

it can't display the text in the right of  CheckBox, but it can works well when I use RadComboBox.Net2.dll which get from the sample code . 

if I buy the latest version of RadControls , how to reslove the above problem?

 

1 Answer, 1 is accepted

Sort by
0
Rosi
Telerik team
answered on 14 Oct 2008, 10:27 AM
Hello jiang,

When you use templates I suggest you call the DataBind() method of RadComboBox in the page_load event handler.


Kind regards,
Rosi
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
ComboBox
Asked by
jiang
Top achievements
Rank 1
Answers by
Rosi
Telerik team
Share this question
or