Professional Web Applications Themes

datagrid to scroll??? - ASP.NET General

I need to fit a datagrid in a 200X200 spage, but if the data gos past the 20 height, I need it to scroll. I don't think the grid will scroll, but can I put it in something that does. IE only -- ______________________ David Fetrow HelixPoint LLC. http://www.helixpoint.com com Interested in Affordable Email Marketing? Check out the HelixMailer at http://www.helixpoint.com/helixmailer.asp If you are interested in becoming a Reseller of HelixPoint products, contact com ______________________...

  1. #1

    Default datagrid to scroll???

    I need to fit a datagrid in a 200X200 spage, but if the data gos past the 20
    height, I need it to scroll. I don't think the grid will scroll, but can I
    put it in something that does. IE only

    --

    ______________________
    David Fetrow
    HelixPoint LLC.
    http://www.helixpoint.com
    com

    Interested in Affordable Email Marketing?
    Check out the HelixMailer at http://www.helixpoint.com/helixmailer.asp
    If you are interested in becoming a Reseller of HelixPoint products, contact
    com
    ______________________


    Davef Guest

  2. #2

    Default Re: datagrid to scroll???

    You can put your DataGrid into a fixed size area by putting it in a div
    such as this:

    <div id="Layer1" style="position:relative;width:350px;
    height:200px;overflow: scroll;">
    datagrid goes here
    </div>

    The key is to use the "overflow" CSS attribute for your grid.
    Here's more info:
    http://www.w3schools.com/css/pr_pos_overflow.asp

    Another option is to put your grid in an IFrame.
    http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/IFRAME.asp

    --
    I hope this helps,
    Steve C. Orr, MCSD
    http://Steve.Orr.net
    --------------------------------
    Hire top notch developers to get your projects done right:
    http://www.able-consulting.com
    --------------------------------


    "Davef" <com> wrote in message
    news:phx.gbl... 
    20 
    contact 


    Steve Guest

  3. #3

    Default Re: datagrid to scroll???

    DIV can Scroll, but more complicated depending on what you want to do.

    "Davef" <com> wrote in message
    news:phx.gbl... 
    20 
    contact 


    MS Guest

  4. #4

    Default Re: datagrid to scroll???

    Check out this article,
    http://www.microsoft.com/india/msdn/articles/CreatingaScrollableDataGridWebS
    erverControl.aspx

    --
    Saravana
    Microsoft India Community Star,MC**
    www.extremeexperts.com



    "Davef" <com> wrote in message
    news:phx.gbl... 
    20 
    contact 


    Saravana Guest

Similar Threads

  1. Datagrid scroll bars
    By Oscar F in forum ASP.NET Data Grid Control
    Replies: 1
    Last Post: October 19th, 03:52 AM
  2. DataGrid Can have Scroll Bars ???
    By Malik Asif Joyia in forum ASP.NET Data Grid Control
    Replies: 1
    Last Post: April 12th, 01:00 PM
  3. set scroll bar in Datagrid
    By Grey in forum ASP.NET Data Grid Control
    Replies: 1
    Last Post: January 15th, 11:10 AM
  4. DataGrid - How to scroll
    By sumit acharya in forum ASP.NET Building Controls
    Replies: 5
    Last Post: December 4th, 02:24 AM

Bookmarks

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139