List Box With CheckBoxes are getting Unchecked Automatically

2 posts, 0 answers
  1. Saurabh
    Saurabh avatar
    12 posts
    Member since:
    Mar 2012

    Posted 27 Mar 2012 Link to this post

    I am using the list box with check boxes inside it. I am encountring a control issue where the checkboxes are getting automatically unchecked after the post back.
    Scenerio : Problem occur when there is scrollig , if we scroll to the end ,after clicking the down arrow button of the scroll and now if the page is PostBack the check boxes gets unchecked..If its not generated for first time then repeat the same procedure for second time this time the checkbox gets unchecked.

    Can Anybody help me out with this...
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 27 Mar 2012 Link to this post


    I tried to reproduce the issue, but no avail. Following is the sample code that i tried.

    <%@ Page Language="C#" AutoEventWireup="true" CodeFile="RadListbox.aspx.cs" Inherits="exercise_RadListbox" %>
    <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
     <head runat="server">
        <form id="form1" runat="server">
            <asp:ScriptManager ID="scriptmanager1" runat="server">
        <telerik:RadListBox ID="RadListBox1" runat="server" CheckBoxes="true" Height="100px" >
                <telerik:RadListBoxItem Text="a1" />
                <telerik:RadListBoxItem Text="a2" />
                <telerik:RadListBoxItem Text="a3" />
                <telerik:RadListBoxItem Text="a4" />
                <telerik:RadListBoxItem Text="a5" />
                <telerik:RadListBoxItem Text="a6" />
                 <telerik:RadListBoxItem Text="a7" />
                <telerik:RadListBoxItem Text="a8" />
                <telerik:RadListBoxItem Text="a9" />
            <asp:Button ID="Button1" runat="server" />

    Please provide your code if it doesn't helps.

Back to Top