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. initial window height and width

initial window height and width

Scheduled Pinned Locked Moved ASP.NET
question
5 Posts 3 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.
  • M Offline
    M Offline
    Member 3879881
    wrote on last edited by
    #1

    Hi its possible to tell in page load event size of the page(Height & width of the page)? Means if u popupnew window we can tell the height and width of that newly popupwindo..., But for me, the initial window itself, we have to tell the height and width of the page...,

    Thanks & Regards, NeW OnE, please don't forget to vote on the post

    A A 2 Replies Last reply
    0
    • M Member 3879881

      Hi its possible to tell in page load event size of the page(Height & width of the page)? Means if u popupnew window we can tell the height and width of that newly popupwindo..., But for me, the initial window itself, we have to tell the height and width of the page...,

      Thanks & Regards, NeW OnE, please don't forget to vote on the post

      A Offline
      A Offline
      AhsanS
      wrote on last edited by
      #2

      I am not sure but i think you can do it only in page init or pre-init methods.

      Ahsan Ullah Senior Software Engineer

      M 1 Reply Last reply
      0
      • A AhsanS

        I am not sure but i think you can do it only in page init or pre-init methods.

        Ahsan Ullah Senior Software Engineer

        M Offline
        M Offline
        Member 3879881
        wrote on last edited by
        #3

        No its not working :(

        Thanks & Regards, NeW OnE, please don't forget to vote on the post

        1 Reply Last reply
        0
        • M Member 3879881

          Hi its possible to tell in page load event size of the page(Height & width of the page)? Means if u popupnew window we can tell the height and width of that newly popupwindo..., But for me, the initial window itself, we have to tell the height and width of the page...,

          Thanks & Regards, NeW OnE, please don't forget to vote on the post

          A Offline
          A Offline
          Anudeep Jaiswal
          wrote on last edited by
          #4

          this can be possible with java script :laugh:

          M 1 Reply Last reply
          0
          • A Anudeep Jaiswal

            this can be possible with java script :laugh:

            M Offline
            M Offline
            Member 3879881
            wrote on last edited by
            #5

            Ya i did for my childwindow using javascript..., But how u can tell it for the parent window itself?, Ths is the code for making childwindow size: Response.Write(""); Response.Write("window.open('CollapsePanel.aspx','_blank','width=550,height=450,scrollbars=no')"); Response.Write(""); Where u will tell this one for parent window? Thanks & Regards, NeW OnE, please don't forget to vote on the post

            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