Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A page response plus a download
Message
From
07/09/2006 10:17:29
Keith Payne
Technical Marketing Solutions
Florida, United States
 
 
To
07/09/2006 00:32:38
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01151591
Message ID:
01151798
Views:
28
>Is there a way in ASP.NET to obtain a page response but to also initiate a download once the page has completed?

Yes there is. It takes a little javascript and an AJAX-style partial postback to get the content. I haven't coded it myself, but you can see it working at msn. You could also use a web service and the DHTML Webservice Behavior to return the content after the response: http://msdn.microsoft.com/library/default.asp?url=/workshop/author/webservice/overview.asp.

Put an empty DIV on the page then stuff it with the content by hooking the onLoad event in BODY.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform