Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: Screen Size

  1. #1
    Senior Coder alykins's Avatar
    Join Date
    Apr 2011
    Posts
    1,927
    Thanks
    46
    Thanked 203 Times in 202 Posts

    Screen Size

    Hi,
    I am working on some asp.net development and I am trying to make my web form auto resize pending the screen it is displayed on. At the moment it always displays with a large "chunk" of white space to the right of the screen. I have done some digging and found commands such as
    using System.Windows
    using System.Windows.Forms
    using System.Windows.Navigation

    But, I am also using visual studio 2010 and these are not valid paths in VS. Also variations on these (eg using System.Web.Forms) does not work either...

    I am new to this, and it is driving me nuts... It is seemingly such a simple concept that everyone seems to inherently do (when I am viewing web apps, or even pages, they always seem to "auto-fit")... why is this so difficult?

    I code C hash-tag .Net
    Reference: W3C W3CWiki .Net Lib
    Validate: html CSS
    Debug: Chrome FireFox IE

  • #2
    Regular Coder
    Join Date
    Apr 2009
    Posts
    244
    Thanks
    1
    Thanked 20 Times in 20 Posts
    Hey alykins,

    Are you making a web page? Because these namespaces below are used for Windows applications, and therefore don't apply. "using System.Web.Forms...where are you putting that? As far as screen size is concerned, this is more of a client-side (CSS/Javascript) topic.

    Again, you said "web form", so I'm assuming you're making a web page.

    Regards,
    Mike


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •