Scroll grid With fixed header (It this posible?)

Ask a Question related to ASP.NET Data Grid Control, Design and Development.

  1. #1

    Default Scroll grid With fixed header (It this posible?)

    Hi, i explain my question...
    I have an ascx web user control this one have a datagrid whit some
    properties i had make a good datagrid user control for me. But now i have
    the last problem i was looking for a way to put scroll bars if my control
    width and height are lowers than the datagrid height and width using the
    next method....i override the method render in the ascx an i write the html
    <div style="overflow:auto"> before renderchildrens() and then </div> but it
    make that my header scroll to i need the way to fix it but only with code
    inside that control not in aspx or codebehind.
    It is posible??
    Thanks Ivan


    Ivan gil Guest

  2. Similar Questions and Discussions

    1. GridView with Fixed Header and Horizontal Scroll Bar
      Dear Does any one know how to fix header in the GridView with an horizontal Scroll bar .
    2. CSS: 100% layout height with fixed header
      I have a design that has a centered div that stretches across the entire height of the browser. Within this div I have a header div with navigation...
    3. Is it posible to have zoom, scroll and buttons on a flash map
      For use with a panoram photo I would like an example with zoom, scroll, and hotlinks (buttons) on a map that is importet to flash. I use mx2004 but...
    4. Fixed datagrid header,
      Hi eveybody, I have a datagrid that can show many rows, so there is a vertical scrollbar. The problem is that when users scroll down, they loose...
    5. 4 Guys From Rolla Fixed Header Sample - Not Working
      hi Andy, Check this link out with updated scrollable grid sample and download the code from my site ( full code not half ;) )....
  3. #2

    Default Scroll grid With fixed header (It this posible?)

    Hi, i explain my question...
    I have an ascx web user control this one have a datagrid whit some
    properties i had make a good datagrid user control for me. But now i have
    the last problem i was looking for a way to put scroll bars if my control
    width and height are lowers than the datagrid height and width using the
    next method....i override the method render in the ascx an i write the html
    <div style="overflow:auto"> before renderchildrens() and then </div> but it
    make that my header scroll to i need the way to fix it but only with code
    inside that control not in aspx or codebehind.
    It is posible??
    Thanks Ivan



    Ivan gil Guest

  4. #3

    Default Re: Scroll grid With fixed header (It this posible?)


    "Ivan gil" <gilmu@wanadoo.es> wrote in message
    news:%23EfTegsuFHA.1472@TK2MSFTNGP15.phx.gbl...
    > Hi, i explain my question...
    > I have an ascx web user control this one have a datagrid whit some
    > properties i had make a good datagrid user control for me. But now i have
    > the last problem i was looking for a way to put scroll bars if my control
    > width and height are lowers than the datagrid height and width using the
    > next method....i override the method render in the ascx an i write the
    > html <div style="overflow:auto"> before renderchildrens() and then </div>
    > but it make that my header scroll to i need the way to fix it but only
    > with code inside that control not in aspx or codebehind.
    > It is posible??
    > Thanks Ivan

    Yes you can fix the header on the datagrid using the CSS as in this example:
    [url]http://www.societopia.net/samples/dataGrid_5c.aspx[/url]

    HTH,
    Phillip Williams
    [url]http://www.webswapp.com[/url]
    [url]http://www.societopia.net[/url]


    msnews.microsoft.com Guest

Posting Permissions

  • You may not post new threads
  • You may 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