TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
thavs
NA
38
0
How do I show multiple iframes on a single page
Jul 11 2009 4:04 AM
Hi
I have a web page with 2 iframes on it which point to 2 different webpages. I load the src url's on click of a button. It works fine on my development machine but when I deploy to a server and access the website from another machine, only 1 of the iframes gets refreshed. Can anyone help?
My code behind :
string
vaUrl = obServ.VA_URL(pin);
string
nrUrl = obServ.Characteristics_URL(pin);
iframe1.Attributes.Add(
"src"
, vaUrl);
iframe2.Attributes.Add(
"src"
, nrUrl);
And my html looks like this:
<
table
id
="tblData"
style
="width:100%; height:781px; display:none"
cellpadding
="0px"
cellspacing
="0px">
<
tr
>
<
td
style
="width: 50%"
align
="left"
valign
="top">
<
iframe
id
="iframe1"
runat
="server"
height
="1000px"
width
="100%"
>
</
iframe
>
</
td
>
<
td
align
="left"
valign
="top"
style
="width:50%">
<
iframe
id
="iframe2"
runat
="server"
height
="1000px"
width
="100%"
>
</
iframe
>
</
td
>
</
tr
>
</
table
>
Thanks in adnvance
Thav
Reply
Answers (
0
)
Loading Master Page
How to develop search application using asp.net?