title: page strange behavior
body: <p>I face so strange action in my page.</p>
  
  <p>I have a radio button list, according to the selection i execute specific code.</p>
  
  <p>The problem is:</p>
  
  <p>for example when i select option <code>2</code> then i select back option <code>1</code>.</p>
  
  <p>the page maintains the state(all the drop down lists maintain their previous selections) and i need to click the link one more time to force the page to enter this condition:</p>
  
  <pre><code>if (!Page.IsPostBack)
  {
      BindCamp(0);
      BindCamp(1);
  }
  </code></pre>
  
  <p><strong>my aspx :</strong></p>
  
  <pre><code>&lt;asp:RadioButtonList ID="rbl" runat="server"
       OnSelectedIndexChanged="rbl_SelectedIndexChanged"
       RepeatDirection="Horizontal" Width="200px" AutoPostBack="True"&gt;
    &lt;asp:ListItem Value="0" Selected="True"&gt;view data&lt;/asp:ListItem&gt;
    &lt;asp:ListItem Value="1"&gt;view report&lt;/asp:ListItem&gt;
  &lt;/asp:RadioButtonList&gt;
  </code></pre>
  
  <p><strong>My code:</strong></p>
  
  <pre><code> protected void rbl_SelectedIndexChanged(object sender, EventArgs e)
   {
       if (rbl.SelectedItem.Value == "0")
       {
           pnl_view.Visible = true;
           pnl_stat.Visible = false;
           pnl_rep.Visible = false;
       }
       else
       {
           pnl_view.Visible = false;
           pnl_all.Visible = false;
           pnl_Dean.Visible = false;
           pnl_research.Visible = false;
           pnl_stat.Visible = true;
       }
   }
  </code></pre>