Results 1 to 3 of 3

Thread: ASP Form Layout

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2001
    Posts
    4

    Exclamation ASP Form Layout

    Could anybody tell me if there is a control "Container" that you can place other controls into and then set the width of the container to 100% so that when the browser is resized all the controls within it are also resized. So are therefore still in view to the user !!!
    Buzby's Biggest Fan, True Grid Rules !!!!

  2. #2
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    If there is any way to do it, it would have to be using client side javascript, but I dont think there is a way to do that as javascript cannot intercept the browser being resized.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  3. #3
    Hyperactive Member thinktank2's Avatar
    Join Date
    Nov 2001
    Location
    Arctic
    Posts
    272
    Code:
    <script language="javascript">
    
     window.onResize = resizemystuff;
     window.onLoad = resizemystuff;
    
    
     function resizemystuff()
     {
         myobj.width = mynewvalue();
     }
    
    
    </script>

Posting Permissions

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



Click Here to Expand Forum to Full Width