OnClientItemChecked not firing for ItemTemplate

3 posts, 0 answers
  1. Jon
    Jon avatar
    813 posts
    Member since:
    Oct 2008

    Posted 21 Mar 2014 Link to this post


    Following an update to 2014 Q1 release (base build and the 318 build) I have found that the control below is not firing the OnClientItemChecked event, given that the event seems to work on the demo site I assume that this issue is caused by my use of a checkbox within the ItemTemplate.  This works just fine on earlier 2013 releases.  Anyone know of a work around on this?  



    <telerik:RadListBox ID="uxOperativeListBox" runat="server" Height="330" Width="380" OnItemDataBound="uxOperativeListBox_ItemDataBound" OnClientItemChecked="OperativeListBoxClicked">
                <asp:CheckBox runat="server" ID="uxCheckbox" Checked='false' style="vertical-align:middle;" />
                <asp:Image runat="server" ID="uxOperativeStatus" ImageUrl="~/Images/Icons/16/ok.png" style="vertical-align:middle;" />
                <asp:Label runat="server" ID="uxOperative" AssociatedControlID="uxCheckbox" style="vertical-align:middle;"></asp:Label>
  2. Plamen
    Plamen avatar
    2933 posts

    Posted 24 Mar 2014 Link to this post

    Hi Jon,

    By default the OnClientItemChecked event should be thrown only when the default Checkbox of RadListbox is checked and in cases when itemTemplate is used as in your case it should not be fired. You can still make it work if you add the rlbCheck Cssclass as in the code belwo:
    <asp:CheckBox runat="server" CssClass="rlbCheck" ID="uxCheckbox" Checked='false' style="vertical-align:middle;" />

    Please have in mind that basically in such cases we kindly recommend using the default checkbox functionality of RadListbox as for example in this on-line demo instead of using templates because this is the scenarios against we are building and testing the control.


    Build cross-platform mobile apps using Visual Studio and .NET. Register for the online webinar on 03/27/2014, 11:00AM US ET.. Seats are limited.

  3. Jon
    Jon avatar
    813 posts
    Member since:
    Oct 2008

    Posted 24 Mar 2014 in reply to Plamen Link to this post

    Hi Plamen,

    It's odd as it did work before the update.

    Anyway I've sorted with a client click update...


Back to Top