|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Open htm and asp pagen inside an .NET aspx projectHi 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 You could put a borderless IFRAME (with runat=server if necessary) and set
its src property based on the selection. Peter -- Show quoteHide quoteCo-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 Show quoteHide quote "Peter Bromberg [C# MVP]" <pbromberg@yahoo.nospammin.com> wrote in message news:85C44559-40E0-48A2-BCA4-E9D58D228021@microsoft.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/ =================================== Show quoteHide quote "Erik" <E***@bbinfo.com> wrote in message news:ea667beaGHA.1352@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]" <pbromberg@yahoo.nospammin.com> wrote in message > news:85C44559-40E0-48A2-BCA4-E9D58D228021@microsoft.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 Show quoteHide quote "Juan T. Llibre" <nomailrepl***@nowhere.com> wrote in message news:%23YPjSufaGHA.4060@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" <E***@bbinfo.com> wrote in message > news:ea667beaGHA.1352@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]" <pbromberg@yahoo.nospammin.com> wrote in >> message >> news:85C44559-40E0-48A2-BCA4-E9D58D228021@microsoft.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 >>>> >>>> >>>> >> >> > > >
Surprise with Textbox1.Text
Deriving from built-in DataGrid control User Control question Determining which control has the focus on my web page controls recommendation Calendar control question CREATE DATABASE permission denied in database 'master' A strange JScript behavior No "update" on DataSet, Server-Error Delete Record using checkbox in Gridview in c# |
|||||||||||||||||||||||