hi everyone, I need a help in ASP.NET C3
I have a button which when user click on the Button, the load page get a refresh, how can I avoid refresh the load page when button click?
Don't use plagiarized sources. Get Your Custom Essay on
Question & Answer: hi everyone, I need a help in ASP.NET C3…..
GET AN ESSAY WRITTEN FOR YOU FROM AS LOW AS $13/PAGE
<tr>
<td style=”width: 143px”>
<asp:FileUpload ID=”FileUpload1″ runat=”server” Width=”630px” onclick=”ClearText();” BackColor=”#FFFFCC” BorderColor=”#006600″ BorderStyle=”None” ForeColor=”Black” />
</td>
<td></td>
<td>
<asp:Button ID=”btnUL” runat=”server” Text=”Upload” OnClick=”btnUpLo_Click” ValidationGroup=”Group1″ SkinID=”s_btn_fiu” />
</td>
</tr>
Expert Answer
To avoid the problem that is
refresh the load page when button click please do this
please insert the below code
<asp:button id=”button” runat=”server” text=”button” onclick=”return false;” autopostback=”false” />