473,804 Members | 3,209 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Open htm and asp pagen inside an .NET aspx project

Hi guys, someone know how could be possible open an htm page or asp page
(created for example using frontpage) inside an aspx page (created using
..NET 2005)?
I have a populated list box on the left of my aspx page and any time that
the user chose an item on it I have to change the htm/asp page on the right.

Any suggestion is welcome
Thank you a lot

Erik
Apr 26 '06 #1
4 1894
You could put a borderless IFRAME (with runat=server if necessary) and set
its src property based on the selection.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Erik" wrote:
Hi guys, someone know how could be possible open an htm page or asp page
(created for example using frontpage) inside an aspx page (created using
..NET 2005)?
I have a populated list box on the left of my aspx page and any time that
the user chose an item on it I have to change the htm/asp page on the right.

Any suggestion is welcome
Thank you a lot

Erik

Apr 26 '06 #2
Thank you Peter, it is exactly what I need, only one question (I'm a rookie
on ASPX code)..
how can I set src property dynamically from vb code?
Erik

"Peter Bromberg [C# MVP]" <pb*******@yaho o.nospammin.com > wrote in message
news:85******** *************** ***********@mic rosoft.com...
You could put a borderless IFRAME (with runat=server if necessary) and set
its src property based on the selection.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Erik" wrote:
Hi guys, someone know how could be possible open an htm page or asp page
(created for example using frontpage) inside an aspx page (created using
..NET 2005)?
I have a populated list box on the left of my aspx page and any time that
the user chose an item on it I have to change the htm/asp page on the
right.

Any suggestion is welcome
Thank you a lot

Erik

Apr 27 '06 #3
re:
how can I set src property dynamically from vb code?
The src property can be assigned dynamically as follows:

If you have an Iframe called "myframe" :
<IFRAME id="myframe" runat="server" ></IFRAME>

In code, you can set the src with :
myframe.attribu tes["src"] = "http://www.somewhere.c om/somepage.aspx"
or, using a relative URL, like :
myframe.attribu tes["src"] = "/mydir/mypage.aspx"

btw, was it necesary to cross-post to so many newsgroups ?

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== =====

"Erik" <Er**@bbinfo.co m> wrote in message news:ea******** ******@TK2MSFTN GP05.phx.gbl... Thank you Peter, it is exactly what I need, only one question (I'm a rookie on ASPX code)..
how can I set src property dynamically from vb code?
Erik

"Peter Bromberg [C# MVP]" <pb*******@yaho o.nospammin.com > wrote in message
news:85******** *************** ***********@mic rosoft.com...
You could put a borderless IFRAME (with runat=server if necessary) and set
its src property based on the selection.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Erik" wrote:
Hi guys, someone know how could be possible open an htm page or asp page
(created for example using frontpage) inside an aspx page (created using
..NET 2005)?
I have a populated list box on the left of my aspx page and any time that
the user chose an item on it I have to change the htm/asp page on the right.

Any suggestion is welcome
Thank you a lot

Erik



Apr 27 '06 #4
Thank you Juan for your answer
Sorry guys for my cross-post in 4 different groups but I'm not sure which
was right one.
Erik
"Juan T. Llibre" <no***********@ nowhere.com> wrote in message
news:%2******** ********@TK2MSF TNGP02.phx.gbl. ..
re:
how can I set src property dynamically from vb code?


The src property can be assigned dynamically as follows:

If you have an Iframe called "myframe" :
<IFRAME id="myframe" runat="server" ></IFRAME>

In code, you can set the src with :
myframe.attribu tes["src"] = "http://www.somewhere.c om/somepage.aspx"
or, using a relative URL, like :
myframe.attribu tes["src"] = "/mydir/mypage.aspx"

btw, was it necesary to cross-post to so many newsgroups ?

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== =====

"Erik" <Er**@bbinfo.co m> wrote in message
news:ea******** ******@TK2MSFTN GP05.phx.gbl...
Thank you Peter, it is exactly what I need, only one question (I'm a
rookie on ASPX code)..
how can I set src property dynamically from vb code?
Erik

"Peter Bromberg [C# MVP]" <pb*******@yaho o.nospammin.com > wrote in
message
news:85******** *************** ***********@mic rosoft.com...
You could put a borderless IFRAME (with runat=server if necessary) and
set
its src property based on the selection.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Erik" wrote:

Hi guys, someone know how could be possible open an htm page or asp
page
(created for example using frontpage) inside an aspx page (created
using
..NET 2005)?
I have a populated list box on the left of my aspx page and any time
that
the user chose an item on it I have to change the htm/asp page on the
right.

Any suggestion is welcome
Thank you a lot

Erik



Apr 27 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2387
by: KevinGravelle | last post by:
Hello, I am running an Apache web server and my httpd configuration file is utilizing the aspdotnet_module in order to run an ASP.NET application. Whenever I try and open my existing web project, I get the error message: "Unable to get the project file from the Web server. Unable to open project 'WebApplication1'. The file path 'C:\Program Files\Apache Group\Apache2\htdocs\WebApplication1' does not correspond to the URL
3
2260
by: alan_coffman2004 | last post by:
Opening an ASP.NET VS2002 project in VS2003, am getting this error: "Unable to open Web project 'MyProject'. The file path 'c:\inetpub\wwwroot\MyProject' does not correspond to the URL 'http://Localhost:/MyProject'. The two need to map to the same server location. HTTP Error 404: Not Found." I have tried fixing this using both of these KB articles and usenet advises, still problem not solved:
37
5996
by: Alan Silver | last post by:
Hello, Newbie here, so please forgive what is probably a basic question ... I see a lot of discussion about "code behind", which if I have understood correctly, means that the script code goes in a separate file from the HTML. Apart from the obvious advantage if you have a separate designer and programmer, are there any other advantages to code behind? Most of the stuff I've seen so far uses code inside, but that's probably
6
1279
by: LU | last post by:
I open new project from web (Created from another computer). I add new web form to project, build/rebuild etc and I get Parse error below. (If I change codebehind = to src=) it works. How do I get it to complie ? What setting should I look into? Server Error in '/census' Application -------------------------------------------------------------------------------- Parser Error Description: An error occurred during the parsing of a...
2
4380
by: Rashrashetta | last post by:
Hi all, I am a beginner in using ASP.net, and I want to ask: If I have two web-forms in the same project(Web-Application) and I want one of them to open the another via a button? How can I do it? And what if I have each one in a different project??? How can this be done? Regards, RASHRASHETTA
4
1874
by: jaredea | last post by:
I have the following setup: SBS 2003 Server Windows 2003 Enterprise Server (setup as an Application Server) Windows XP Pro Desktop Both the Application server and desktop have Visual Studio 2003 on them as well as the .NET Framework 1.1 I started to use .NET on the desktop to test things out...then i setup
7
613
by: Jed | last post by:
I am trying to open web project in VS 2003 using the File Share method. VS is running on XP Pro (Host) and I am accessing the root web of an XP Pro install on Virtual PC (Server) running on the same machine. I have the loopback adapter running on the Host. The Host is sharing it's Internet connectivity with the loopback adapter and the Server is using the loopback it for Internet connectivity. All the networking stuff is working fine.
13
3569
by: Bob Jones | last post by:
Here is my situation: I have an aspx file stored in a resource file. All of the C# code is written inline via <script runat="server"tags. Let's call this page B. I also have page A that contains some javascript code that calls window.open. I pass the resource url of page B to Page A's window.open call. Page B is then loaded and executed but none of the server-side code is rendered. If I view the source of the page, the code (and page...
3
2429
by: skcsknathan001 | last post by:
I have 2 projects, and accessing a custom control , fron another project. Inside the custom control, it calls a function It compiles and when it runs I get a NullReference error message on the function which accepts the ImageButton. Basically custom control is called .. goes into execute functions, but the ImageButton control inside the custom control is not passed to the function. I'm thinking is it some permission blocking the visibility...
0
9708
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9587
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10340
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10324
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7623
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6857
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4302
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3827
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2998
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.