473,503 Members | 2,135 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

IE toolbar etc

I am doing a response.redirect("mypagehere.aspx")

I want to be able to turn off the toolbar, backbutton and control the
location and size of this new window.

Becuase I couldnt figure out how to do that for calling a page using
response.redirect I also looked into the onload event of the page itself.
(thus in my situation window.open would not work becuase I want the existing
window to change, not a new window).
There are window events for chagning the size and location of my window but
nothing for the toolbars etc the best I can find.
Jun 12 '06 #1
8 1181
The stuff you want to do can only be done from client script, not from
response.redirect where the browser will simply request the new page.
use Javascript window.open( etc., etc.)
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Sean" wrote:
I am doing a response.redirect("mypagehere.aspx")

I want to be able to turn off the toolbar, backbutton and control the
location and size of this new window.

Becuase I couldnt figure out how to do that for calling a page using
response.redirect I also looked into the onload event of the page itself.
(thus in my situation window.open would not work becuase I want the existing
window to change, not a new window).
There are window events for chagning the size and location of my window but
nothing for the toolbars etc the best I can find.

Jun 12 '06 #2
You can open windows with the javascript window.open method. This includes
options for sizing the window and making various toolbars and menus
visible/invisible.
Here's more info:
http://SteveOrr.net/articles/ClientSideSuite.aspx
http://msdn.microsoft.com/workshop/a...ods/open_0.asp

Some popup blockers may foil your plans however, so consider alternate
designs.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Sean" <Se**@discussions.microsoft.com> wrote in message
news:10**********************************@microsof t.com...
I am doing a response.redirect("mypagehere.aspx")

I want to be able to turn off the toolbar, backbutton and control the
location and size of this new window.

Becuase I couldnt figure out how to do that for calling a page using
response.redirect I also looked into the onload event of the page itself.
(thus in my situation window.open would not work becuase I want the
existing
window to change, not a new window).
There are window events for chagning the size and location of my window
but
nothing for the toolbars etc the best I can find.

Jun 12 '06 #3
Right!

the problem is I need it to not open a new window but change the settings of
the current window. I can turn off toolbars etc easily if I am opening a new
window with the function in question but I need it to change the existing
window.

"Steve C. Orr [MVP, MCSD]" wrote:
You can open windows with the javascript window.open method. This includes
options for sizing the window and making various toolbars and menus
visible/invisible.
Here's more info:
http://SteveOrr.net/articles/ClientSideSuite.aspx
http://msdn.microsoft.com/workshop/a...ods/open_0.asp

Some popup blockers may foil your plans however, so consider alternate
designs.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Sean" <Se**@discussions.microsoft.com> wrote in message
news:10**********************************@microsof t.com...
I am doing a response.redirect("mypagehere.aspx")

I want to be able to turn off the toolbar, backbutton and control the
location and size of this new window.

Becuase I couldnt figure out how to do that for calling a page using
response.redirect I also looked into the onload event of the page itself.
(thus in my situation window.open would not work becuase I want the
existing
window to change, not a new window).
There are window events for chagning the size and location of my window
but
nothing for the toolbars etc the best I can find.


Jun 12 '06 #4
client script can only specify these option on a new window, not the
current. Also the lastest security patches limit how much of the browser bar
you can hide.

-- bruce (sqlwork.com)

"Sean" <Se**@discussions.microsoft.com> wrote in message
news:10**********************************@microsof t.com...
I am doing a response.redirect("mypagehere.aspx")

I want to be able to turn off the toolbar, backbutton and control the
location and size of this new window.

Becuase I couldnt figure out how to do that for calling a page using
response.redirect I also looked into the onload event of the page itself.
(thus in my situation window.open would not work becuase I want the
existing
window to change, not a new window).
There are window events for chagning the size and location of my window
but
nothing for the toolbars etc the best I can find.

Jun 12 '06 #5
I'm pretty sure that's not permitted for security reasons.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Sean" <Se**@discussions.microsoft.com> wrote in message
news:47**********************************@microsof t.com...
Right!

the problem is I need it to not open a new window but change the settings
of
the current window. I can turn off toolbars etc easily if I am opening a
new
window with the function in question but I need it to change the existing
window.

"Steve C. Orr [MVP, MCSD]" wrote:
You can open windows with the javascript window.open method. This
includes
options for sizing the window and making various toolbars and menus
visible/invisible.
Here's more info:
http://SteveOrr.net/articles/ClientSideSuite.aspx
http://msdn.microsoft.com/workshop/a...ods/open_0.asp

Some popup blockers may foil your plans however, so consider alternate
designs.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Sean" <Se**@discussions.microsoft.com> wrote in message
news:10**********************************@microsof t.com...
>I am doing a response.redirect("mypagehere.aspx")
>
> I want to be able to turn off the toolbar, backbutton and control the
> location and size of this new window.
>
> Becuase I couldnt figure out how to do that for calling a page using
> response.redirect I also looked into the onload event of the page
> itself.
> (thus in my situation window.open would not work becuase I want the
> existing
> window to change, not a new window).
> There are window events for chagning the size and location of my window
> but
> nothing for the toolbars etc the best I can find.
>
>


Jun 13 '06 #6
could I "onload" the page in some kind of "modal_dialog" format?

or even send the response.redirect in such a way as well.

Most likely not but I figure it worth asking.

Basically I want a page similar to the message editing page we are currently
writting in.

Thanks

"Steve C. Orr [MVP, MCSD]" wrote:
I'm pretty sure that's not permitted for security reasons.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Sean" <Se**@discussions.microsoft.com> wrote in message
news:47**********************************@microsof t.com...
Right!

the problem is I need it to not open a new window but change the settings
of
the current window. I can turn off toolbars etc easily if I am opening a
new
window with the function in question but I need it to change the existing
window.

"Steve C. Orr [MVP, MCSD]" wrote:
You can open windows with the javascript window.open method. This
includes
options for sizing the window and making various toolbars and menus
visible/invisible.
Here's more info:
http://SteveOrr.net/articles/ClientSideSuite.aspx
http://msdn.microsoft.com/workshop/a...ods/open_0.asp

Some popup blockers may foil your plans however, so consider alternate
designs.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Sean" <Se**@discussions.microsoft.com> wrote in message
news:10**********************************@microsof t.com...
>I am doing a response.redirect("mypagehere.aspx")
>
> I want to be able to turn off the toolbar, backbutton and control the
> location and size of this new window.
>
> Becuase I couldnt figure out how to do that for calling a page using
> response.redirect I also looked into the onload event of the page
> itself.
> (thus in my situation window.open would not work becuase I want the
> existing
> window to change, not a new window).
> There are window events for chagning the size and location of my window
> but
> nothing for the toolbars etc the best I can find.
>
>


Jun 13 '06 #7
With JavaScript's window.open method you should be able to open a new web
browser window that looks very similar to a newsgroup reader message editing
window. I don't think there is any other way except using a thick client
technology such as ActiveX or windows forms.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Sean" <Se**@discussions.microsoft.com> wrote in message
news:BD**********************************@microsof t.com...
could I "onload" the page in some kind of "modal_dialog" format?

or even send the response.redirect in such a way as well.

Most likely not but I figure it worth asking.

Basically I want a page similar to the message editing page we are
currently
writting in.

Thanks

"Steve C. Orr [MVP, MCSD]" wrote:
I'm pretty sure that's not permitted for security reasons.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Sean" <Se**@discussions.microsoft.com> wrote in message
news:47**********************************@microsof t.com...
> Right!
>
> the problem is I need it to not open a new window but change the
> settings
> of
> the current window. I can turn off toolbars etc easily if I am opening
> a
> new
> window with the function in question but I need it to change the
> existing
> window.
>
>
>
> "Steve C. Orr [MVP, MCSD]" wrote:
>
>> You can open windows with the javascript window.open method. This
>> includes
>> options for sizing the window and making various toolbars and menus
>> visible/invisible.
>> Here's more info:
>> http://SteveOrr.net/articles/ClientSideSuite.aspx
>> http://msdn.microsoft.com/workshop/a...ods/open_0.asp
>>
>> Some popup blockers may foil your plans however, so consider alternate
>> designs.
>>
>> --
>> I hope this helps,
>> Steve C. Orr, MCSD, MVP
>> http://SteveOrr.net
>>
>>
>> "Sean" <Se**@discussions.microsoft.com> wrote in message
>> news:10**********************************@microsof t.com...
>> >I am doing a response.redirect("mypagehere.aspx")
>> >
>> > I want to be able to turn off the toolbar, backbutton and control
>> > the
>> > location and size of this new window.
>> >
>> > Becuase I couldnt figure out how to do that for calling a page using
>> > response.redirect I also looked into the onload event of the page
>> > itself.
>> > (thus in my situation window.open would not work becuase I want the
>> > existing
>> > window to change, not a new window).
>> > There are window events for chagning the size and location of my
>> > window
>> > but
>> > nothing for the toolbars etc the best I can find.
>> >
>> >
>>
>>
>>


Jun 13 '06 #8
In article <47**********************************@microsoft.co m>, Sean
<Se**@discussions.microsoft.com> writes
I can turn off toolbars etc easily if I am opening a new window with
the function in question but I need it to change the existing window.


Thankfully this isn't possible with existing windows. It's very rare
that this is a good idea for new windows either.

You need to reconsider your idea. Think about the user. Why do they have
to have their main navigation aide removed by you? That's very
antisocial and guaranteed to annoy and/or confuse them. The nav bar, and
specifically the Back button, is the second most used navigational aide
(after the hyperlink). Why stop them using it? Furthermore, disabling it
leaves it gone even after they leave your site. That's also antisocial
behaviour.

This issue has been discussed many times in usability forums, and is
universally considered a Bad Idea by the usability experts. It would be
better if you can rethink your design and work out why you need/want to
do this. Maybe there is another way of achieving the same thing without
disadvantaging the user.

HTH

--
Alan Silver
(anything added below this line is nothing to do with me)
Jun 19 '06 #9

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

Similar topics

15
65727
by: Code Monkee | last post by:
How can the toolbar and menubar be hidden in IE? When opening the window via javascript I can specify 'toolbar=no,menubar=no', which works fine. However if the window already exists how can I...
102
7273
by: me | last post by:
How do I prevent the save/print/email/mypictures toolbar from popping up when IE users place their cursor over photos at my website? Thank you in advance for your help. Signed, me
11
2888
by: N. Graves | last post by:
I have checked the "Alignment and Sizing" toolbar but when I want to use in on aligning several form object the toolbar buttons stay grayed out. What am I missing. Thanks! N. Graves
0
1784
by: Lauren Quantrell | last post by:
I use the following code to create text edit fields and command buttons in my toolbars: Function CreateToolbarObject(myObjectType as integer) Dim newObject Select Case myObjectType Case 1...
4
5589
by: Jason Tabert | last post by:
Is there a way to create a custom IE toolbar with C# (or anything else in ..NET for that matter)? I have been looking all day and have had no luck finding a good place to start. I need to make...
6
3106
by: Juan Pedro Gonzalez | last post by:
I wanted to add a Combobox to a toolbar... Kind of the look you get on VisualStudio's toolbar. I've been able to find some VB 6 samples, but the placeholder option is no longer available for...
1
3429
by: Alfredo Barrientos | last post by:
Hi, I have a little trouble trying to assign a Toolbar control to another toolbar variable control. I am getting my forms controls with this: for (int j = 0; j <= frmChild.Controls.Count -...
4
3637
by: Gerhard | last post by:
I have an MS Access app with multiple forms. One of the forms has a Toolbar (MsComctlLib.Toolbar) and it works as advertised. I handle the buttons in the Toolbar1_ButtonClick event. I would like...
3
5230
by: Undergrid | last post by:
Hi All, I've got a few toolbars in my application hosted in a ToolStripContainer. I have found a problem whereby the location of a toolbar is not restored when doing a LoadSettings if the...
6
3883
by: =?Utf-8?B?L2Rldi9udWxs?= | last post by:
Hello, i am using visual studio 2003 enterprise architect version. I am making apps for the .Net framework 1.1. While testing an interface, i discovered something strange. In this application...
0
7205
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
7093
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
7287
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
7353
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
5596
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
3170
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1521
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
747
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
401
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.