DataGrid in ASPX Slow to draw

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

  1. #1

    Default DataGrid in ASPX Slow to draw

    Greetings,

    I have been searching for some info on why the DataGrid control takes soooo
    long to draw to the screen with large datasets.

    I have a simple report that has a lot of searching capabilities for
    returning a small dataset. But when I return all records, 10,000 ( with 20
    fields ), the HTML takes over 30 seconds to draw to the screen.

    This aspx page, is a DataGrid being bound to a DataSet. In its most
    simplest form. Small datasets draw fast, sort fast, etc.

    Now then, I have some other old ASP pages that I have converted to ASPX.
    One scenerio is a page ( ASP ) that you can search for an Employee.
    Returning all Employees ( ~4000 records ) takes ~2 sec. The ASP code is the
    traditional get the RecordSet and loop through it creating the HTML table.

    The exact same page using a DataList being bound to a DataSet takes ~10 sec
    to draw to the screen.

    I just want to know if other users have experienced this. Is there a way to
    force a "Response.Flush" type action on these controls? Is it common
    knowledge that we are giving up speed for programming convienience.

    Or maybe my web server is out of tune? I do not know. I have no other
    benchmarks.

    thanx

    Micah


    Micah N Guest

  2. Similar Questions and Discussions

    1. ASPX page closing slowly with large datagrid
      I have an issue with aspx page that displays a large datagrid. When i click a button and display the grid everyting works fine. when i click a...
    2. Datagrid render column headings. ASPX Page Model. Events
      I have written a usercontrol which I drop onto aspx pages in my project, this usercontrol performs changes on the content of various aspx controls...
    3. Datagrid slow
      Hello. I have a datagrid control on an asp.net web page with a sort command. I notice when the sort is ascending, the page renders very fast, but...
    4. Multiple DataGrid in an ASPX page
      Hi, I have a requirement in which I need to display multiple datagrids in my ASPX page. I do not know how many of them until the page load. So I...
    5. Slow Draw McImagingLingo -- Optimization Help Needed
      Hi All, I have some code that draws a bunch of circles into an image object and then assigns that object to a member. The image I was using...
  3. #2

    Default Re: DataGrid in ASPX Slow to draw

    that's about right for 10,000 rows. what are you complaining about?
    if you want it any faster than this you need to page the grid.

    "Micah N" <noreply@noreply.com> wrote in message
    news:ecLqu2cXDHA.212@TK2MSFTNGP12.phx.gbl...
    > Greetings,
    >
    > I have been searching for some info on why the DataGrid control takes
    soooo
    > long to draw to the screen with large datasets.
    >
    > I have a simple report that has a lot of searching capabilities for
    > returning a small dataset. But when I return all records, 10,000 ( with
    20
    > fields ), the HTML takes over 30 seconds to draw to the screen.
    >
    > This aspx page, is a DataGrid being bound to a DataSet. In its most
    > simplest form. Small datasets draw fast, sort fast, etc.
    >
    > Now then, I have some other old ASP pages that I have converted to ASPX.
    > One scenerio is a page ( ASP ) that you can search for an Employee.
    > Returning all Employees ( ~4000 records ) takes ~2 sec. The ASP code is
    the
    > traditional get the RecordSet and loop through it creating the HTML table.
    >
    > The exact same page using a DataList being bound to a DataSet takes ~10
    sec
    > to draw to the screen.
    >
    > I just want to know if other users have experienced this. Is there a way
    to
    > force a "Response.Flush" type action on these controls? Is it common
    > knowledge that we are giving up speed for programming convienience.
    >
    > Or maybe my web server is out of tune? I do not know. I have no other
    > benchmarks.
    >
    > thanx
    >
    > Micah
    >
    >

    Alvin Bruney 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