How to refresh a page after file upload?

File upload and page refresh in

You can simply by below solution.

You simply add this below FileUp.SaveAs:

‘mypage.aspx’ is the name of current aspx page.You can use responce redirect to refresh the page. If there are querystring variable then follow below.

Response.Redirect(“mypage.aspx” + Request.QueryString.ToString());

About the Author