I have an asp.net web forms website with master page and few other pages.
In master page, i have <asp:ContentPlaceHolder ID=“Placeholder1” runat=“server”></asp:ContentPlaceHolder> , where the content of the child pages are loaded.
one of the page is default.aspx ,, as such
<asp:Content runat=“server” ID=“content1” ContentPlaceHolderID=“Placeholder1”></asp:Content>
the toggle works, but in the main content section , i have a table and can increase the size of the rows displayed in the table, when I change the pagenumber or change the number of items displayed in the table, the page refreshes and it doesn't maintain what state the sidemenu was in . I.e even if the menu was hidden, when i change the page number, the page refreshes and side menu appears . I want it to be hidden , if the user had hidden the menu and then changed the page number.
how can i achieve this in asp.net web forms.
<asp:Content runat=“server” ID=“content1” ContentPlaceHolderID=“Placeholder1”>
<a > <span id="togglemenu" > Hide menu </span></a>
<div id="main content"> </div>