Hi,
I have a rad combo box code given below.
<telerik:RadComboBox
ID="RadComboBox_Agency" runat="server"
Height="190px" Width="200px"
MarkFirstMatch="true" EnableLoadOnDemand="true" HighlightTemplatedItems="true"
DataTextField="CompanyName" DropDownWidth="375" ItemRequestTimeout="500"
OnItemsRequested="RadComboBox_Agency_ItemsRequested"
Skin="Vista">
<HeaderTemplate>
<table style="width: 375px" cellspacing="0" cellpadding="0">
<tr>
<td style="width: 125px;">
Name
</td>
<td style="width: 125px;">
Phone
</td>
<td style="width: 125px;">
Zip
</td>
</tr>
</table>
</HeaderTemplate>
<ItemTemplate>
<table style="width: 375px" class="comboTable" cellspacing="0" cellpadding="0">
<tr>
<td style="width: 125px;" class="comboItemCell">
<div class="comboItem">
<%# DataBinder.Eval(Container.DataItem, "CompanyName")%>
</div>
</td>
<td style="width: 125px;" class="comboItemCell">
<div class="comboItem">
<%# DataBinder.Eval(Container.DataItem, "Phone")%>
</div>
</td>
<td style="width: 125px;" class="comboItemCell">
<div class="comboItem">
<%# DataBinder.Eval(Container.DataItem, "PostalCode")%>
</div>
</td>
</tr>
</table>
</ItemTemplate>
</telerik:RadComboBox>
How do i have to get selected value in code behind.
Like
RadComboBox_Agency.selectedvalue
Thanks.
Eva
I have a rad combo box code given below.
<telerik:RadComboBox
ID="RadComboBox_Agency" runat="server"
Height="190px" Width="200px"
MarkFirstMatch="true" EnableLoadOnDemand="true" HighlightTemplatedItems="true"
DataTextField="CompanyName" DropDownWidth="375" ItemRequestTimeout="500"
OnItemsRequested="RadComboBox_Agency_ItemsRequested"
Skin="Vista">
<HeaderTemplate>
<table style="width: 375px" cellspacing="0" cellpadding="0">
<tr>
<td style="width: 125px;">
Name
</td>
<td style="width: 125px;">
Phone
</td>
<td style="width: 125px;">
Zip
</td>
</tr>
</table>
</HeaderTemplate>
<ItemTemplate>
<table style="width: 375px" class="comboTable" cellspacing="0" cellpadding="0">
<tr>
<td style="width: 125px;" class="comboItemCell">
<div class="comboItem">
<%# DataBinder.Eval(Container.DataItem, "CompanyName")%>
</div>
</td>
<td style="width: 125px;" class="comboItemCell">
<div class="comboItem">
<%# DataBinder.Eval(Container.DataItem, "Phone")%>
</div>
</td>
<td style="width: 125px;" class="comboItemCell">
<div class="comboItem">
<%# DataBinder.Eval(Container.DataItem, "PostalCode")%>
</div>
</td>
</tr>
</table>
</ItemTemplate>
</telerik:RadComboBox>
How do i have to get selected value in code behind.
Like
RadComboBox_Agency.selectedvalue
Thanks.
Eva