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 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
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
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
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
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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...
|
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...
|
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...
|
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...
|
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...
| |
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...
|
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...
|
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...
|
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...
|
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...
|
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,...
| |
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...
|
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...
|
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,...
|
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...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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...
| |