RadComboBox LoadOnDemand Problem

1 posts, 0 answers
  1. Muhammad
    Muhammad avatar
    87 posts
    Member since:
    Oct 2012

    Posted 15 Aug 2012 Link to this post

    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

Back to Top