Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Disable Internet Explorer Toolbar

0 views
Skip to first unread message

Tom

unread,
Jul 4, 2006, 1:00:02 PM7/4/06
to
I have a C# Web Forms application and would like to disable the Internet
Explorer toolbar and menu. How can I do this?

Laurent Bugnion

unread,
Jul 5, 2006, 2:56:41 AM7/5/06
to
Hi,

Tom wrote:
> I have a C# Web Forms application and would like to disable the Internet
> Explorer toolbar and menu. How can I do this?

By disable, I guess you mean hide. You cannot do that for the current
window. The only way is to open a pop-up using client-side JavaScript,
and using the feature string to specify which bar should be displayed
and which should be hidden.

See
http://developer.mozilla.org/en/docs/DOM:window.open

HTH,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
Private/Malaysia: http://mypage.bluewin.ch/lbugnion
Support children in Calcutta: http://www.calcutta-espoir.ch

Alan Silver

unread,
Jul 5, 2006, 9:30:14 AM7/5/06
to
In article <OI5JuAAo...@TK2MSFTNGP02.phx.gbl>, Laurent Bugnion
<galas...@bluewin.ch> writes

>Hi,
>
>Tom wrote:
>> I have a C# Web Forms application and would like to disable the
>>Internet Explorer toolbar and menu. How can I do this?
>
>By disable, I guess you mean hide. You cannot do that for the current
>window. The only way is to open a pop-up using client-side JavaScript,
>and using the feature string to specify which bar should be displayed
>and which should be hidden.

And even then, the user can simply type Ctrl-n to open the page in a new
window, complete with toolbars, menu bars, etc.

The main question is why you would want to remove the toolbar and menu.
It sounds like a very bad idea to me. These two represent the basis of
the user's browsing experience. Why do you want to cripple them?

--
Alan Silver
(anything added below this line is nothing to do with me)

Laurent Bugnion

unread,
Jul 5, 2006, 4:32:15 PM7/5/06
to
Hi,

Alan Silver wrote:

> And even then, the user can simply type Ctrl-n to open the page in a new
> window, complete with toolbars, menu bars, etc.
>
> The main question is why you would want to remove the toolbar and menu.
> It sounds like a very bad idea to me. These two represent the basis of
> the user's browsing experience. Why do you want to cripple them?

It can be legitimate in some occasions IMHO. If you must display a very
small window, for example, the bars look clumsy. In such cases, however,
one might prefer to use a DIV or something similar instead of a pop-up.

In the case of a web application (as opposed to a website), there might
be cases where the navigation is not the main purpose of the window,
thus hiding the bars might make sense.

Devil's advocate, I know ;-)

Greetings,

neilmc...@gmail.com

unread,
Jul 5, 2006, 4:43:45 PM7/5/06
to
ya, i'd go with a Google Spreadsheets type "popup window"

http://spreadsheets.google.com/

0 new messages