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. help me in Popup Page Location

help me in Popup Page Location

Scheduled Pinned Locked Moved ASP.NET
toolshelp
4 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.
  • S Offline
    S Offline
    sirisha guttikonda
    wrote on last edited by
    #1

    hi... can anybody help in setting the location and height and width for the poppage this my poppage script Page.ClientScript.RegisterStartupScript(Me.[GetType](), "openpopup", "window.open('../Page2.aspx','test','scrollbars=2');") thank u. siri

    siri

    C T S 3 Replies Last reply
    0
    • S sirisha guttikonda

      hi... can anybody help in setting the location and height and width for the poppage this my poppage script Page.ClientScript.RegisterStartupScript(Me.[GetType](), "openpopup", "window.open('../Page2.aspx','test','scrollbars=2');") thank u. siri

      siri

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Please don't ask agan when your first ask is still visible. This site offers you free help. That means you have to wait for it. When you pay people, you can afford to be impatient with them.

      Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

      1 Reply Last reply
      0
      • S sirisha guttikonda

        hi... can anybody help in setting the location and height and width for the poppage this my poppage script Page.ClientScript.RegisterStartupScript(Me.[GetType](), "openpopup", "window.open('../Page2.aspx','test','scrollbars=2');") thank u. siri

        siri

        T Offline
        T Offline
        Tirthadip
        wrote on last edited by
        #3

        use top and left parameter of window.open function for positioning the pop-up.like TheNewWin = window.open('','name','height=255,width=250, toolbar=no,directories=no,status=no,menubar=no, scrollbars=no,resizable=no,top=20,left=20'); This only sets the position the first time the window is opened though. If we are intending to reuse the same window for multiple popups then we will want to relocate the window to the desired location immediately after the window opens instead. use MoveTo function for that. TheNewWin = window.open('','name','height=255,width=250, toolbar=no,directories=no,status=no,menubar=no, scrollbars=no,resizable=no'); TheNewWin.moveTo(50,50);

        Tirtha Do not go where the path may lead, go instead where there is no path and leave a trail. Author: Ralph Waldo Emerson (1803-82), American writer, philosopher, poet, essayist

        1 Reply Last reply
        0
        • S sirisha guttikonda

          hi... can anybody help in setting the location and height and width for the poppage this my poppage script Page.ClientScript.RegisterStartupScript(Me.[GetType](), "openpopup", "window.open('../Page2.aspx','test','scrollbars=2');") thank u. siri

          siri

          S Offline
          S Offline
          squattyarun
          wrote on last edited by
          #4

          Use height, width for setting height and top left attribute to set the position.....

          Arun Singh Noida.

          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