Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Loading html file into a control

Reply
Thread Tools

Loading html file into a control

 
 
John Holmes
Guest
Posts: n/a
 
      02-22-2005
I have created a look and feel that I'd like to use for all my web pages and
was thinking I could create a single file that gets called with a query
parameter giving the name of the html file that I'd like to load inside the
look and feel that I have. I was thinking I could use the placeholder
control and then load the html from the file into that control. Is there an
easy way to do this?

pageloader.aspx?p=junk.htm

Thanks,

John


 
Reply With Quote
 
 
 
 
MasterGaurav
Guest
Posts: n/a
 
      02-23-2005
Yes.
Use Label.

Set the Text of the Label as the contents of the HTML file. Of course,
everything needs to be done on the server side.

Or you can create an iframe with an SRC given by a variable whose value
is set when the page is loaded.

Personal suggestion: Avoid iframes since it may give inner scrollbars
that look ugly.

--
Cheers,
Gaurav Vaish
http://www.mastergaurav.org
http://mastergaurav.blogspot.com
--------------------------------

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
using dreamweaver : how can I insert HTML file into another html file? johnsonholding@yahoo.com HTML 3 01-10-2006 08:06 PM
Loading Data from Text File into an HTML Drop Down Box Al-Bot Javascript 1 12-23-2005 11:24 AM
Loading html file into panel jack-b@humlog.com ASP .Net Web Controls 3 05-10-2005 11:58 PM
Loading html file into panel jack-b@humlog.com ASP .Net 3 05-10-2005 11:58 PM
HTML Client Control versus. HTML Server Control versus. Web Server Control Matthew Louden ASP .Net 1 10-11-2003 07:09 PM



Advertisments