Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

hi everyone, I need a help in ASP.NET C3 I have a button which when user click o

ID: 3867630 • Letter: H

Question

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?

<tr>
<td>
<asp:FileUpload ID="FileUpload1" runat="server" Width="630px" BackColor="#FFFFCC" BorderColor="#006600" BorderStyle="None" ForeColor="Black" />
</td>
<td></td>
<td>
<asp:Button ID="btnUL" runat="server" Text="Upload" ValidationGroup="Group1" SkinID="s_btn_fiu" />
</td>
</tr>

Explanation / 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" autopostback="false" xmlns:asp="#unknown" />