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. New window script is not working at MS Vista?

New window script is not working at MS Vista?

Scheduled Pinned Locked Moved ASP.NET
helpquestioncsharpasp-nettools
4 Posts 2 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.
  • D Offline
    D Offline
    Dong Kim
    wrote on last edited by
    #1

    I'm making a ASP.NET 2.0 program. I need to display page information to new windows. This is my code. string cPSCRIP = "" + "window.open('test.aspx','test',"+ "'width=auto,height=auto,toolbar=no,menubar=no,"+ "scrollbar=yes,resizable=yes')" + ""; ClientScript.RegisterStartupScript(typeof(Page),"Testscript",cPSCRIP); At MS WindowXP with IE7, this works. However, at MS Vista with IE7, this code is not working. It only show 'done, but there is error on page' message at statusbar. How can I solve this problem? Can anyone help me? PS) MS Vista with IE7 -> protected mode:on

    N 1 Reply Last reply
    0
    • D Dong Kim

      I'm making a ASP.NET 2.0 program. I need to display page information to new windows. This is my code. string cPSCRIP = "" + "window.open('test.aspx','test',"+ "'width=auto,height=auto,toolbar=no,menubar=no,"+ "scrollbar=yes,resizable=yes')" + ""; ClientScript.RegisterStartupScript(typeof(Page),"Testscript",cPSCRIP); At MS WindowXP with IE7, this works. However, at MS Vista with IE7, this code is not working. It only show 'done, but there is error on page' message at statusbar. How can I solve this problem? Can anyone help me? PS) MS Vista with IE7 -> protected mode:on

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

      And what does the error message say?


      only two letters away from being an asset

      D 1 Reply Last reply
      0
      • N Not Active

        And what does the error message say?


        only two letters away from being an asset

        D Offline
        D Offline
        Dong Kim
        wrote on last edited by
        #3

        no error message. At MS Vista, it just not show a new IE windows.

        N 1 Reply Last reply
        0
        • D Dong Kim

          no error message. At MS Vista, it just not show a new IE windows.

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

          Dong Kim wrote:

          It only show 'done, but there is error on page' message at statusbar

          Double click the icon and show what the error is :rolleyes:


          only two letters away from being an asset

          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