Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. how to remove toolbar at runtime

how to remove toolbar at runtime

Scheduled Pinned Locked Moved ASP.NET
tutorial
6 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    raghvendrapanda
    wrote on last edited by
    #1

    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

    N A R 3 Replies Last reply
    0
    • R raghvendrapanda

      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

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      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

      R 1 Reply Last reply
      0
      • N Not Active

        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

        R Offline
        R Offline
        raghvendrapanda
        wrote on last edited by
        #3

        Thnks for the reply...but can u tell me how to make the tool bar visbilty false in code behind

        N 1 Reply Last reply
        0
        • R raghvendrapanda

          Thnks for the reply...but can u tell me how to make the tool bar visbilty false in code behind

          N Offline
          N Offline
          Not Active
          wrote on last edited by
          #4

          No


          I know the language. I've read a book. - _Madmatt

          1 Reply Last reply
          0
          • R raghvendrapanda

            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

            A Offline
            A Offline
            Amar Chaudhary
            wrote on last edited by
            #5

            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

            1 Reply Last reply
            0
            • R raghvendrapanda

              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

              R Offline
              R Offline
              randz
              wrote on last edited by
              #6

              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

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups