Click here to Skip to main content
15,890,506 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi guys,

I'm using fileupload in my asp.net page,

n

when i'm clicking on the upload button, its refreshing the whole page,
but i dont want to refresh whole page, just i want to view page after selecting the file.

Can anybody suggest me, how to use update panel with fileupload n upload button.

thanks & best regards,
Posted
Updated 21-Jan-14 20:59pm
v2

1 solution

File Upload in Update Panel[^]


You can refer this link, and below info may help you to stop refreshing entire page


Tag

Description

<asp:asyncpostbacktrigger xmlns:asp="#unknown">

Specifies a control and event that will cause a partial page update for the UpdatePanel that contains this trigger reference.

<asp:postbacktrigger>

Specifies a control and event that will cause a full page update (a full page refresh). This tag can be used to force a full refresh when a control would otherwise trigger partial rendering.
 
Share this answer
 
Comments
abdul subhan mohammed 22-Jan-14 5:03am    
Parser Error

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Type 'System.Web.UI.AsyncPostBackTrigger' does not have a public property named 'xmlns:asp'.
JoCodes 22-Jan-14 5:19am    
remove xmlns:asp from your page
VishwaKL 22-Jan-14 5:53am    
Check the aspx page and ajax tool kit reference.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900