session state of checkbox list

Posted by xrx215 on Stack Overflow See other posts from Stack Overflow or by xrx215
Published on 2010-04-20T14:48:14Z Indexed on 2010/04/20 15:03 UTC
Read the original article Hit count: 284

Filed under:
|

Can you please help me in storing the checkbox list items in session.

I have a checkbox list as follows

asp:CheckBoxList ID="cblScope" runat="server" 
        onselectedindexchanged="cblScope_SelectedIndexChanged">

    asp:ListItem ID="liInScope" runat="server" Value="true">In Scope (Monitored)</asp:ListItem>
    <asp:ListItem ID="liOutOfScope" runat="server" Value="true">Out of Scope (Unmonitored)</asp:ListItem>

/asp:CheckBoxList>

I have to store the value of the checkbox in session when they are cheked.

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about c#