c# - Checkbox inside Update Panel causing full post back -


i have registration form users fill up. in there, 1 field there if user checks on button text box shoulld enabled enter number. have used following code :

<asp:updatepanel id="upmsme" runat="server">         <contenttemplate>             <tr>                 <td colspan="2">                     <asp:label id="lblmsme" runat="server" text="whether covered under msme (tick whichever applicable)"></asp:label>                      <asp:checkbox autopostback="true" checked="true" id="chbmsme" runat="server" oncheckedchanged="chbmsme_checkedchanged" clientidmode="autoid"/>                 </td>             </tr>             <tr id="trmsmeno" runat="server">                 <td>                     <asp:label id="lblmsmeno" runat="server" text="msme number" cssclass="aligntop"></asp:label>                 </td>                 <td class="valuebox">                     <asp:textbox id="txtmsmeno" runat="server" maxlength="75"></asp:textbox>                     <asp:requiredfieldvalidator id="rfvmsmeno" runat="server" forecolor="red" errormessage="*" controltovalidate="txtmsmeno" validationgroup="vgvendor"></asp:requiredfieldvalidator>                  </td>             </tr>         </contenttemplate>     </asp:updatepanel> 

however searched on internet , found setting clientidmode="autoid" issue resolved. in case after setting property there still full postback occurred.

i have update panel in form, make difference? missing?


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -