Posts Topics Forums Images
Search videos from message boards Videos Search messages from microblogs Microblogs Search messages from imdb.com Imdb Search messages from yuku.com Yuku Search messages from lefora.com (free forums) Lefora
My account: Login | Sign Up
Loading... 

Thread: save .aspx page as .html file

Started 2 months ago by Elbudster
I'm not 100% sure of what you are trying to do. Do you basically want to output a plain html file from a .aspx page? There are a few ways you could go about doing this. I changed your code around a little bit and this works on a test page that I put together: Help with Code Tags ASP.NET Syntax ( Toggle Plain Text ) Response. Clear ( ) Response. ...
Site: www.daniweb.com - IT Tech Talk  www.daniweb.com - IT Tech Talk - site profile
Forum: ASP.NET  ASP.NET - forum profile
Total authors: 4 authors
Total thread posts: 6 posts
Thread activity: no new posts during last week
Domain info for: daniweb.com

Other posts in this thread:

rikb53 replied 2 months ago
i need to actually Write the .html file contents to a virtual folder. such as Dim vpath As String = Server.MapPath("myFile"). as soon as the user navigates to the .aspx page - they could still see that page. i just need some additional processing to "save" that as a separate .html file, without intervention from the user. hopefully that's a little more clear as to what im trying to do. ...

rikb53 replied 2 months ago
i guess the "short" of it would be i want to by-pass the save-file-dialog (so the user is not involved) and save to a pre-determined folder

jbennet replied 1 month, 4 weeks ago
• • • • i guess the "short" of it would be i want to by-pass the save-file-dialog (so the user is not involved) and save to a pre-determined folder most lilely not possible. the web browser is supposed to be sandboxed and allowing a site access to any path on disk without user intervention in that way would represent a security hole.

Elbudster replied 1 month, 4 weeks ago
Are you trying to save to an .html file the resulting output of the .aspx page after it is finished rendering? What for?

chandru7 replied 1 month, 4 weeks ago
Not sure try like Help with Code Tags ASP.NET Syntax ( Toggle Plain Text ) this . rendercontrol ( ) this.rendercontrol()

 

Top contributing authors

Name
Posts
rikb53
2
user's latest post:
save .aspx page as .html file
Published (2009-11-09 00:00:00)
i need to actually Write the .html file contents to a virtual folder. such as Dim vpath As String = Server.MapPath("myFile"). as soon as the user navigates to the .aspx page - they could still see that page. i just need some additional processing to "save" that as a separate .html file, without intervention from the user. hopefully that's a little more clear as to what im trying to do. thanks again. rik
Elbudster
2
user's latest post:
save .aspx page as .html file
Published (2009-11-10 08:46:58)
Are you trying to save to an .html file the resulting output of the .aspx page after it is finished rendering? What for?
jbennet
1
user's latest post:
save .aspx page as .html file
Published (2009-11-10 00:46:58)
• • • • i guess the "short" of it would be i want to by-pass the save-file-dialog (so the user is not involved) and save to a pre-determined folder most lilely not possible. the web browser is supposed to be sandboxed and allowing a site access to any path on disk without user intervention in that way would represent a security hole.
chandru7
1
user's latest post:
save .aspx page as .html file
Published (2009-11-11 00:00:00)
Not sure try like Help with Code Tags ASP.NET Syntax ( Toggle Plain Text ) this . rendercontrol ( ) this.rendercontrol()

Related threads on "www.daniweb.com - IT Tech Talk":

Related threads on other sites:

Thread profile page for "save .aspx page as .html file" on http://www.daniweb.com. This report page is a snippet summary view from a single thread "save .aspx page as .html file", located on the Message Board at http://www.daniweb.com. This thread profile page shows the thread statistics for: Total Authors, Total Thread Posts, and Thread Activity