how to remove toolbar at runtime
-
Hy, i have to open a page and remove its tool bar at runtime.is there any way i can do it while using response.redirect as i cannot ue window.open
-
Hy, i have to open a page and remove its tool bar at runtime.is there any way i can do it while using response.redirect as i cannot ue window.open
You can always set the visibility of a control, either from the code-behind or via javascript. Response.Redirect has nothing to do with it.
I know the language. I've read a book. - _Madmatt
-
You can always set the visibility of a control, either from the code-behind or via javascript. Response.Redirect has nothing to do with it.
I know the language. I've read a book. - _Madmatt
Thnks for the reply...but can u tell me how to make the tool bar visbilty false in code behind
-
Thnks for the reply...but can u tell me how to make the tool bar visbilty false in code behind
No
I know the language. I've read a book. - _Madmatt
-
Hy, i have to open a page and remove its tool bar at runtime.is there any way i can do it while using response.redirect as i cannot ue window.open
you need to use JavaScript and it will only work for a popup window. - else you cant do it "Security Issues".
It is Good to be Important but! it is more Important to be Good
-
Hy, i have to open a page and remove its tool bar at runtime.is there any way i can do it while using response.redirect as i cannot ue window.open
It is not possible to programmatically hide the menubar or toolbar on a window that is already open. I found similar JS from the net but it is for Netscape:
function showmenu()
{
netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserWrite");
window.menubar.visible=true;
window.directories.visible=true;
window.statusbar.visible=true;
...and I do not know if it works. (who's using Netscape anyway? Official support for Netscape ended on March 1st, 2008.)
Remember, your work is not yours alone. Somewhere, there are some codes written by others amongst us that depends on your work. By failing to see that you are part of their ecosystem, you are bound to break their code. *http://dotnetrandz.blogspot.com*
modified on Friday, March 26, 2010 4:00 AM