Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old April 11th, 2006, 12:59 PM
Registered User
Join Date: Oct 2005
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Loading HTML pages into an ASP.NET page


Is it possible to load an already existing HTML page into an ASP.NET page during runtime i.e. I should be able to pass the HTML files path and name to the aspx page like this
So then the 'HtmlViewer.aspx' page would show the contents of 'page.html'


There is no patch for ignorance
Old April 18th, 2006, 05:12 AM
Registered User
Join Date: Apr 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to prameshgupta Send a message via AIM to prameshgupta

No, just you convert the html file into .aspx file or otherwise
you create one aspx file on that html design you paste you old html code. don't cut the header files on the html view.

Ramesh P
Old May 16th, 2007, 01:36 AM
Registered User
Join Date: May 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

    i have created the web design in the dreamweaver 8 in html files... now i want to convert those html files into ASP.Net vb as code behind.

     i tried to convert by saving the html files into aspx file but in dotnet i cant able to view the aspx.vb code part once i clicked the text boxes.

      so plz provide me a solution for this ASAP..

      thank u

Old May 16th, 2007, 07:17 AM
planoie's Avatar
Friend of Wrox
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts

You'll need to change any standard HTML controls to server controls in order to use them in code behind. To my knowledge, there is no way to convert.

Old May 17th, 2007, 07:21 AM
Registered User
Join Date: May 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

thanks ramesh

Similar Threads
Thread Thread Starter Forum Replies Last Post
Loading a html page using php Apocolypse2005 Beginning PHP 1 August 4th, 2008 10:21 AM
.net page loading is slow angshujit .NET Framework 1.x 1 December 26th, 2006 07:53 AM
ASP.net many pages on one page? Lofa ASP.NET 1.0 and 1.1 Basics 5 February 13th, 2006 12:59 PM
ASP page not loading correctly phreakgrrrl Classic ASP Databases 1 July 6th, 2005 02:59 PM
Shall i use ASP page and ASPX pages in in .net prj bvrao VS.NET 2002/2003 4 January 5th, 2004 04:39 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.