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" <> wrote in message news:...
> 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]" <> wrote in message
> news:85C44559-40E0-48A2-BCA4-...
>> 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
>>>
>>>
>>>
>
>