|
I think you gave width height of the controls in Pixels. try it in percentage
Always give size in %
Thanks and Regards
Sandeep
If you want something you never had,
do something you have never done!
|
|
|
|
|
|
Can you post your aspx code ?
Thanks and Regards
Sandeep
If you want something you never had,
do something you have never done!
|
|
|
|
|
<head><br />
<title>Untitled Document</title><br />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><br />
</head><br />
<br />
<frameset rows="*" cols="11%,*" frameborder="yes" border="1" framespacing="1" noresize><br />
<frameset rows="*,149" cols="*" framespacing="1" frameborder="yes" border="1" noresize ><br />
<frameset rows="25%,159" cols="*" framespacing="1" frameborder="yes" border="1" noresize><br />
<frame src="left.asp" name="leftFrame" scrolling="NO" noresize><br />
<frame src="midleft.asp" name="bottomFrame1" scrolling="NO" noresize><br />
</frameset><br />
<frame src="down.asp" name="bottomFrame" scrolling="NO" noresize><br />
</frameset><br />
<frameset rows="18%,*" cols="*" framespacing="1" frameborder="yes" border="1"><br />
<frame src="top.asp" name="topFrame" scrolling="NO" noresize><br />
<frame src="mid.asp" name="mainFrame" noresize ><br />
</frameset><br />
</frameset><br />
<noframes><body><br />
<br />
</body></noframes><br />
</html>
hope you will be able to help,thanks
|
|
|
|
|
Don't use frames, simple as, they suck....
Ever heard of CSS?
|
|
|
|
|
yeah but i dont realy know how to use it,
but if i dont use frames,how will i display my combo content in the some part the page,and i want the page setup to be same in evrywhere,using frame it is possible,just you select some item in the combo,and display its details in the next frame,
if i follow you how will i do that
|
|
|
|
|
USe style sheet i.e css file
try to add padding
Thanks and Regards
Sandeep
If you want something you never had,
do something you have never done!
|
|
|
|
|
yeah but i dont really understand that style thing,how to do it,is it possible for you to give an example,or some book name(simple one)or somewhere in the internet whre i can study it
thanks for your respond
|
|
|
|
|
Search on google as Style sheet in ASP.NET
Its very simple and standard way
Thanks and Regards
Sandeep
If you want something you never had,
do something you have never done!
|
|
|
|
|
I have been attempting to add a Confirmation Popup to a Button that comes from a ButtonField in a GridView. I have successfully identified the Button and added the Javascript with the code below. When I press the Button, a Confirmation Popup comes up with the "Ok" or "Cancel" buttons as usual. The problem is that when I press the "Ok" button….no post back is made. I can't figure it out. Is there some kind of special consideration that I missed with adding this kind of confirmation to a Button from a ButtonField?
Private Sub gv_MaterialGrpLegacy_RowDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewRowEventArgs) Handles gv_MaterialGrpLegacy.RowDataBound
Dim RowButton As Button
RowButton = e.Row.Cells(0).Controls(0)
RowButton.OnClientClick = String.Format("javascript:return confirm('Are You Sure You Want To Remove This {0}?');", "")
Thanks to all that have helped me in the past, and those who can help me with this!
|
|
|
|
|
Excuse me for the stupid question, but after a few hours of searching through the net I'm still not quite sure if IIS is a stand-alone package that I can download and install, or does it only come integrated with Windows Server 2003? And what exactly OS and Server do I need to run ASP .NET Apps?
I'm sleepy. But I can't get a rest because of those *********.
|
|
|
|
|
You can't download IIS, it's included in Windows.
For Windows Server NT 4 you install Option Pack to get IIS. In Windows Server 2000 and Windows Server 2003 IIS is installed by adding it in Windows Components.
To run ASP.NET applications you need .NET framework and IIS. For testing you can use any Windows version that includes IIS, like Windows 2000 Pro or Windows XP Pro. Visual Studio 2005 includes a stand-alone web server, and doesn't require IIS for testing. For hosting a site you need Windows Server.
---
single minded; short sighted; long gone;
|
|
|
|
|
Thank you for the good answer.
I got my sleep. Now I'm relatively happy and ready to work.
|
|
|
|
|
hi all,
i want to make the width of text boxes same for IE and Fire Fox but it is not working. How to accomplish that task,i m creating that text box(ASp:Textbox) inside table.i m stuck with dont know what to do with this.i m using VS 2003 for my project.
Thanks.
Regards.
Tasleem Arif
|
|
|
|
|
_tasleem wrote: i want to make the width of text boxes same for IE and Fire Fox but it is not working.
What exactly is not working? What have you tried?
---
single minded; short sighted; long gone;
|
|
|
|
|
set width of text box in Pixels and then in "%" but, both gives different result of width (IE and Fire Fox).
Regards.
Tasleem Arif
|
|
|
|
|
Specify also the padding, as the default padding differs.
---
single minded; short sighted; long gone;
|
|
|
|
|
When IE 6/7 is not in standards mode, the border, padding and the bounding box width is included in the total of the said element: http://msdn2.microsoft.com/en-us/library/bb250395.aspx[^].
"We make a living by what we get, we make a life by what we give." --Winston Churchill
|
|
|
|
|
|
Hi,
I'm developing a web service in which I need to get the sub-directories & files list which reside in the same directory where the Web service is installed.
In other word, in the same directory where I put my Service.asmx, I have a few other files & directories.
Those file & Directories I need to access from within my Web Service Code.
This Web Service will be Deployed in a nother computer, so when I'm building it i have no idea in which directory it will reside.
My question is: How do I gain access to the actual directoy in which my Servive.asmx got installed to, so I could something like: foreach (string directory in Directory.GetDirectories(MyWebServiceDirectory))??
If i use Environment.CurrentDirectory I get the C:\Windows\system32...
If I use Application.StartupPath I get back a reference to an HttpApplicationState object...
p.s. I'm using C# .NET
Any Help is appreciated.
tnx
Roy Kabiri
|
|
|
|
|
Hi - In the little page below, which multiplies two numbers, how can I ensure that I get the "right" answer instead of some approximation? If, for example, I enter 79.32 in the first box and 10 in the second, instead of getting 793.2 I get 793.1999999999999
thanks.. Fred
<html>
<head>
<script language="javascript" >
<!--
function timesTB() {
var a = document.getElementById("tb1");
var b = document.getElementById("tb2");
var z = (parseFloat(a.value) * parseFloat(b.value)).toString();
document.getElementById("tbSum").value = z;
}
// -->
</script>
</head>
<body>
<form name="f1" action="">
<input type="text" id="tb1" onblur="timesTB()" value="1" >
<input type="text" id="tb2" onblur="timesTB()" value="1" >
<input type="text" id="tbSum" >
</form>
</body>
</html>
|
|
|
|
|
Fred_Smith wrote: If, for example, I enter 79.32 in the first box and 10 in the second, instead of getting 793.2 I get 793.1999999999999
That is completely normal. Floating point math is never exact.
Most values can not be exactly represented, so the closest approximation is used. When you multiply the values, the rounding errors get large enough to show up when you convert the value to it's string representation.
---
single minded; short sighted; long gone;
|
|
|
|
|
Thanks.. it may be normal but it's still wrong! Is there not a simple way to get and display the correct answer?
cheers, Fred
|
|
|
|
|
You can't display the "correct" answer, as it doesn't exist...
Use the Math.round method to round the value to the precision you want to display.
---
single minded; short sighted; long gone;
|
|
|
|
|
No disrespect Guffa (believe me, I have great respect for the efforts you put into this forum) but there is a correct answer: the correct answer to 79.32 * 10 is 793.2, plain and simple, and it seems crazy to have to jump through all sorts of hoops to arrive at it using Javascript.....
Thanks anyway...
F
|
|
|
|