473,503 Members | 11,435 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 1878
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*******@yahoo.nospammin.com> wrote in message
news:85**********************************@microsof t.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.attributes["src"] = "http://www.somewhere.com/somepage.aspx"
or, using a relative URL, like :
myframe.attributes["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.com> wrote in message news:ea**************@TK2MSFTNGP05.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*******@yahoo.nospammin.com> wrote in message
news:85**********************************@microsof t.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****************@TK2MSFTNGP02.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.attributes["src"] = "http://www.somewhere.com/somepage.aspx"
or, using a relative URL, like :
myframe.attributes["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.com> wrote in message
news:ea**************@TK2MSFTNGP05.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*******@yahoo.nospammin.com> wrote in
message
news:85**********************************@microsof t.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
2349
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...
3
2237
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...
37
5916
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...
6
1262
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...
2
4362
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...
4
1857
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...
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...
13
3515
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...
3
2411
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...
0
7067
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...
0
7264
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7316
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...
0
7449
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5562
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4666
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...
0
3160
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3148
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
371
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...

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.