Author: steppinthrax | Posted on: 4/6/2010 1:35:30 PM | Views : 314

This would be a simple one for me if I was binding this dynamically.  I don't think it's necessary to have a code behind for only 4 or so values.  Anyways here is my ddl.
<asp:DropDownList ID="page_size" runat="server" AutoPostBack="true" OnSelectedIndexChanged="page_size_SelectedIndexChanged"> <asp:ListItem Value="10">10</asp:ListItem> <asp:ListItem Value="15">15</asp:ListItem> <asp:ListItem Value="20">20</asp:ListItem> </asp:DropDownList>
 
The problem is that when a user selects a value and it postbacks my ddl resets to the first value.  How do I prevent this?????
...

Go to the complete details ...