Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to cause the UpdatePanel to refresh?

Status
Not open for further replies.

okayokayjustme

IS-IT--Management
Apr 5, 2007
73
US
I'm using ASP.NET AJAX Toolkit. Is there a way to cause the UpdatePanel to refresh from a client side Javascript? I'm trying to attachment files to an email and since FileUpload does not reveal the client's full path to the file, I'm uploading the fiels to my webserver and then attachment the files from there. So to keep track of which files the user uploaded, after the files are uploaded to the server, I attached the FileUpload1.FileName to some lable controls on the parent (opener) window page. The problem is, those lable controls do contain the correct file name but because the parent window page is not refresh the lable's Text property is still blank. So what I was thinking is instead of refreshing the whole parent page, I want to put those lables inside the UpdatePanel and somehow cause the UpdatePanel to update or refresh using Javascript. Is this possible? If so, will someone provide me some sample codes?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top