asp.net - When radio button selection changes do not cause refresh? -


when selection of radio buttons change show/hide panel in next table cell. have hiding , showing fine each time causes page refresh top. way stop refresh? hide , show panel dynamically.

<table> <tr>             <td>                 <asp:radiobuttonlist runat="server" id="rblplayerstatus" autopostback="true" >                     <asp:listitem>free agent</asp:listitem>                     <asp:listitem>i have teammate</asp:listitem>                 </asp:radiobuttonlist>             </td>             <td>                 <asp:panel runat="server" id="pnlteammate">                     <asp:label runat="server" id="lblteammate" text="choose teammate" />                 </asp:panel>             </td>         </tr>       </table> 

use ajax.asp.net library - add scriptmanager item, , updatepanel. within updatepanel update through ajax, not full page refresh.


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -