473,325 Members | 2,771 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

Disable Internet Explorer Toolbar

Tom
I have a C# Web Forms application and would like to disable the Internet
Explorer toolbar and menu. How can I do this?
Jul 4 '06 #1
4 2980
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
Jul 5 '06 #2
In article <OI**************@TK2MSFTNGP02.phx.gbl>, Laurent Bugnion
<ga*********@bluewin.chwrites
>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)
Jul 5 '06 #3
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,
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
Jul 5 '06 #4
ya, i'd go with a Google Spreadsheets type "popup window"

http://spreadsheets.google.com/

Laurent Bugnion wrote:
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,
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
Jul 5 '06 #5

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

Similar topics

11
by: yaktipper | last post by:
This explains how to disable the view source / right-click menu in Netscape 4, Netscape 6 and Internet Explorer (IE). <script language="JavaScript"> //This code is the beginning of the right...
1
by: Prashant Joshi | last post by:
Hi all, I am using javascript to open a popup window. Is there any way we can disable the minimize button in this window? The maximize button is disabled. I want the same for the minimize button....
1
by: Ashvin Navare | last post by:
Hi, We want to disable BACK & FORWARD button of the browser so that user is forced to navigate through the menu options provided in the site. The browser used is Internet Explorer only. Please...
4
by: Peter | last post by:
I would like to an IE toolbar with a few buttons & the like. please can someone point me in the right direction. need to do this in VB.NET (found a sample in C# - but taht was complicated &...
8
by: Nemo | last post by:
Hello Guys, Can somebody tell me how I can disable a menu item such as "save as" in the Internet Explorer or Netscape using Javascript. Thanks. Nemo
1
by: Frederik Vanderhaegen | last post by:
Hi, I'm writing an application which handles Internet Explorer Automation. Through the application I'm able to automate logon on a certain webpage. When I automate the click on the logon button,...
0
by: mookid | last post by:
Good day group, I have made a toolbar for Internet Explorer using C# and COM interop. I would like to be able to show a drop-down window appearing to come down from beneath the toolbar area, but...
1
by: Nathan Sokalski | last post by:
I have a page that I created with ASP.NET which contains a RadioButtonList. This obviously shows up as input tags in the generated page. When I was looking at the page with the free Internet...
2
by: swethak | last post by:
Hi, I am getting the problem the problem with google map in Internet Explorer. This map worked fine in mozilla . When i opened the same map in Internet Explorer i am getting the error...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

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.