Page width

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Scott

    #1

    Page width

    Is it possible in ASP.NET to determine the page width in
    pixels? If so how?

    Thanks
    Scott
  • bruce barker

    #2
    Re: Page width

    typical done with a client sniffing (client code that sends back the info).

    -- bruce (sqlwork.com)



    "Scott" <anonymous@disc ussions.microso ft.com> wrote in message
    news:050201c399 b7$19ee2c10$a30 1280a@phx.gbl.. .[color=blue]
    > Is it possible in ASP.NET to determine the page width in
    > pixels? If so how?
    >
    > Thanks
    > Scott[/color]


    Comment

    • Michael Pearson

      #3
      Re: Page width

      I Believe that you use screen.width and screen.height in javascript on the
      client side to figure this out. This gives you the size of the window that
      the user has open, and not the client's resolution.

      Michael
      "Scott" <anonymous@disc ussions.microso ft.com> wrote in message
      news:050201c399 b7$19ee2c10$a30 1280a@phx.gbl.. .[color=blue]
      > Is it possible in ASP.NET to determine the page width in
      > pixels? If so how?
      >
      > Thanks
      > Scott[/color]


      ---
      Outgoing mail is certified Virus Free.
      Checked by AVG anti-virus system (http://www.grisoft.com).
      Version: 6.0.528 / Virus Database: 324 - Release Date: 10/16/2003


      Comment

      Working...