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

RadComboBox LoadOnDemand Problem

0 Answers 40 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Muhammad
Top achievements
Rank 1
Muhammad asked on 15 Aug 2012, 12:51 PM
Hi,

I am using Radcombobox feature LoadOnDemand. In my radcombobox I have a label, textbox and a button control but when I try to click on a button the post back occurs but my onclick event doesn't fire.

Is this the problem because I am using LoadOnDemand ?

Any help would be greatly appreciated.

<telerik:RadComboBox ID="rcbProducts" runat="server" Width="300px" Height="300px" EnableLoadOnDemand="true" 
                                   DataTextField="ProductCodeAndDesc" DataValueField="LogisticProductKey" Font-Names="Arial"
                                   Font-Size="XX-Small" Skin="Windows7" EmptyMessage="- please select a product -"
                                   Filter="Contains">
                                   <ItemTemplate>
                                       <table>
                                           <tr>
                                               <td>
                                                   <asp:Label ID="lblProductName" Text='<%# Bind("ProductCodeAndDesc") %>' runat="server"></asp:Label>
                                               </td>
                                               <td style="text-align: right">
                                                   <asp:TextBox ID="txtIntervalDays" ValidationGroup="vgNumeric" Width="50px" MaxLength="5" Text='<%# Bind("RepeatIntervalDays") %>'
                                                       runat="server"></asp:TextBox>
                                                       <asp:Button ID="btnSaveIntervalDays" Text="Save" OnClick="btnSaveIntervalDays_Click" runat="server" />
                                                       <asp:Button ID="btnTest" Text="TEst" OnClick="btnTest_Click"  
runat="server" />
                                                   
                                               </td>
                                           </tr>
                                       </table>
                                   </ItemTemplate>
                               </telerik:RadComboBox>

Protected Sub btnTest_Click(ByVal sender As Object, ByVal e As EventArgs)
 
 
 End Sub

Protected Sub btnSaveIntervalDays_Click(ByVal sender As Object, ByVal e As EventArgs)
 
 
 End Sub

No answers yet. Maybe you can help?

Tags
ComboBox
Asked by
Muhammad
Top achievements
Rank 1
Share this question
or