<asp:TextBox ID="txtCombo" runat="server" ReadOnly="true" Text="--Select--" CssClass="DropDownCss" BackColor="#EEEEEE" Width="225" Height="25" ></asp:TextBox> <cc1:PopupControlExtender ID="PopupControlExtender111" runat="server" TargetControlID="txtCombo" PopupControlID="Panel111" Position="Bottom" > </cc1:PopupControlExtender> <input type="hidden" name="hidVal" id="hidVal" runat="server" /> <asp:Panel ID="Panel111" runat="server" Width="230" BackColor="#EEEEEE" BorderColor="Gray" BorderWidth="1"> <asp:CheckBoxList ID="chkList" runat="server" Height="150" onclick="CheckItem(this)"> </asp:CheckBoxList> </asp:Panel>
Loading of your checklist should check Page.isPostBack property and it not PostBack then load it. if(!Page.isPostBack){ // load your checklist }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)