473,498 Members | 1,815 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

New window size

How can I set the width and height of a new window created by a Target ="
_blank" hyperlink using ASP.Net 2.0?

Thanks
Nov 19 '05 #1
4 1303
You can't. You can only set the size of a window opened using the JavaScript
window.open() method.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
The sun never sets on
the Kingdom of Heaven

"Hennie" <gm@hilton.com> wrote in message
news:u4**************@TK2MSFTNGP12.phx.gbl...
How can I set the width and height of a new window created by a Target ="
_blank" hyperlink using ASP.Net 2.0?

Thanks

Nov 19 '05 #2
Kevin,

Would you please post an example? I too am havin problems with the sizing
issue.
tks in advance for your help
alan
--
alan
"Kevin Spencer" wrote:
You can't. You can only set the size of a window opened using the JavaScript
window.open() method.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
The sun never sets on
the Kingdom of Heaven

"Hennie" <gm@hilton.com> wrote in message
news:u4**************@TK2MSFTNGP12.phx.gbl...
How can I set the width and height of a new window created by a Target ="
_blank" hyperlink using ASP.Net 2.0?

Thanks


Nov 19 '05 #3
Hi alan,

I'll do better than that. See:

http://msdn.microsoft.com/workshop/a...ods/open_0.asp

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
The sun never sets on
the Kingdom of Heaven

"wallacefalan" <wa**********@discussions.microsoft.com> wrote in message
news:72**********************************@microsof t.com...
Kevin,

Would you please post an example? I too am havin problems with the sizing
issue.
tks in advance for your help
alan
--
alan
"Kevin Spencer" wrote:
You can't. You can only set the size of a window opened using the
JavaScript
window.open() method.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
The sun never sets on
the Kingdom of Heaven

"Hennie" <gm@hilton.com> wrote in message
news:u4**************@TK2MSFTNGP12.phx.gbl...
> How can I set the width and height of a new window created by a Target
> ="
> _blank" hyperlink using ASP.Net 2.0?
>
> Thanks
>


Nov 19 '05 #4
Kevin,

Thanks for reply however I am still somewhat confused as to how to implement
the code in the article.

For example, if I had a button on a web page labeled "button1" which when
clicked this would open "webpage1" with no menu bar.

tks in advance for your help -
--
alan
"Kevin Spencer" wrote:
Hi alan,

I'll do better than that. See:

http://msdn.microsoft.com/workshop/a...ods/open_0.asp

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
The sun never sets on
the Kingdom of Heaven

"wallacefalan" <wa**********@discussions.microsoft.com> wrote in message
news:72**********************************@microsof t.com...
Kevin,

Would you please post an example? I too am havin problems with the sizing
issue.
tks in advance for your help
alan
--
alan
"Kevin Spencer" wrote:
You can't. You can only set the size of a window opened using the
JavaScript
window.open() method.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
The sun never sets on
the Kingdom of Heaven

"Hennie" <gm@hilton.com> wrote in message
news:u4**************@TK2MSFTNGP12.phx.gbl...
> How can I set the width and height of a new window created by a Target
> ="
> _blank" hyperlink using ASP.Net 2.0?
>
> Thanks
>


Nov 19 '05 #5

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

Similar topics

2
5339
by: Randell D. | last post by:
HELP! Its taken me ages - I'm a newbie and I've compiled bits of code that I've read in this newsgroup over time to create one of my most intricate functions to date... Basically, the script...
8
2399
by: alanstew | last post by:
With the body tag calling out 'window onload', a function with a 'window.open' fails at the 'window.open' line. If I cut out the body tag, the function executes as normal. At first I thought it...
6
5608
by: David Hayes | last post by:
juglesh <juglesh@nospamRadioKDUG.com> wrote in "Re: how to maximize the browser window that fits the monitor size?" (Saturday, January 01, 2005 3:12 AM): > > >I want to maximize the browser...
26
5632
by: yb | last post by:
Hi, Is there a standard for the global 'window' object in browsers? For example, it supports methods such as setInterval and clearInterval, and several others. I know that w3c standardized...
17
2612
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - How do I find the size of a browser window?...
2
2103
by: tshad | last post by:
I have an aspx window that is going to open a window (javascript) and display a graphic. I want to resize the window to the size of the graphic before it actually displays - how do I do that? ...
9
2564
by: tshad | last post by:
This was posted before but the message got messed up (all NLs were stripped out for some reason). I have 2 labels that hold the name of different images on my .aspx page. <asp:Label ID="Logo"...
2
3215
by: wreed06 | last post by:
Hello, I have 2 problems. In my webpage, I have a dropdown list with a button that takes the user to a popup window specific to the option. I am using Firefox 2.0.0.13. I have successfully...
0
7126
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7005
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
7168
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
7210
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
5465
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,...
0
3096
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
1424
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
659
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
293
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.