473,473 Members | 2,004 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

ASP.Net 2.0 IFrame problem...

Hello, i have a web application, and i have a menu and below this a IFrame
(width:100% heigth:100%) but if i put the dimensions with % dont show
anything... if i put a fixed dimension in px or pt or anything, it works...
but i need %...
anyone know why this is happening?
thanks!
Nov 20 '05 #1
3 1248
Hi,

Show us the HTML code that comes as a result of this. How are you setting
the height and width, as an attribute or as a CSS style?

-Altaf
--------------------------------------------------------------------------------
All that glitters has a high refractive index.
www.mendhak.com
"Rothariger" <Ro********@msn.com> wrote in message
news:4F**********************************@microsof t.com...
Hello, i have a web application, and i have a menu and below this a IFrame
(width:100% heigth:100%) but if i put the dimensions with % dont show
anything... if i put a fixed dimension in px or pt or anything, it
works...
but i need %...
anyone know why this is happening?
thanks!

Nov 20 '05 #2
Try to delete the first line in the HTML source

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

I hope it works...

Nov 20 '05 #3
what jose said it worked, but i post the HTML Code anyway... i only leaves
thats matters...

at the last tr, is the IFrame.
thanks to both of you!!!

<%@ Register TagPrefix="ignav"
Namespace="Infragistics.WebUI.UltraWebNavigator"
Assembly="Infragistics.WebUI.UltraWebNavigator.v5. 1, Version=5.1.20051.37,
Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" %>
<%@ Page Language="vb" AutoEventWireup="false"
Inherits="Spinehost.EasyTrack.StartPage" CodeFile="StartPage.aspx.vb" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat=server>
<title>Start Page</title>
</HEAD>
<body id="body" bottomMargin="0" leftMargin="0" topMargin="0"
rightMargin="0">
<form id="Form1" method="post" runat="server">

<table border="0" cellpadding="0" cellspacing="0" style="LEFT: 0px;
WIDTH: 100%; POSITION: absolute; TOP: 0px; HEIGHT: 100%">
<tr height=30px>

</tr>
<tr height=auto>

</tr>
<tr height=auto width=auto>
<td visible=true height="100%" width="100%"><IFRAME id="IFrame"
tabIndex="0" src="UserPage.aspx" frameBorder="no" scrolling="no"
contenteditable="true" style="width: 100%; height: 100%"
runat="server"></IFRAME>
</td>
</tr>
</table>

</form>
</body>
</HTML>
Nov 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Thomas | last post by:
Hi there, I have an iframe which is editable (designMode = "on") and want to resize it dynamically as the content grows (e.g. more lines of text is in there) and there the struggle starts. I...
7
by: Christopher J. Hahn | last post by:
I'm trying to use a script-generated form to submit to a script-generated iframe. The problem I'm running into is that the iframe is not assuming the name I assign it. IE6 on Win2000. FF1.0.2+...
12
by: wangzx | last post by:
I am the author of easyajax.sourceforge.net, and I have a problem on Firefox 1.5, I post the problem here and hopes somebody help me. The test page can be:...
26
by: shlomi.schwartz | last post by:
using this example: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Test Page</title> </head>
1
by: jaktharkhan | last post by:
Hi, I really really need help in trying to figure out how can I do a CloneNode on an Iframe where the cloned IFRAME clones with all its contents?. Basically what I am doing is dynamically building...
7
by: nicknack | last post by:
Hi. I have a strange problem wuth IFRAME. I have page aaa.aspx with an IFRAME that contain page bbb.aspx. page bbb.aspx sometimes redirect him self to page ccc.aspx. The problem is that...
0
by: mem | last post by:
Hello, I'm a novice at this and am trying to solve a problem reference IFrame. The following code is for a page I've created. It works well with two exceptions. The IFrame is an application hosted...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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
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
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
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,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
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
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.