Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Datagrid slow

Datagrid slow

Scheduled Pinned Locked Moved Visual Basic
csharpasp-netvisual-studiohelp
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    liona
    wrote on last edited by
    #1

    Hi, I am running vs 2003 and uploading a user defined excel sheet into an asp.net web form (vb.net code). The sheet consists of 21 records with about 50 columns. The problem is that I have the datagrid on a DIV tag for scrolling. But when you scroll it is painfully slow. Can someone suggest how I can do this so it won't be slow. Thanks.

    D 1 Reply Last reply
    0
    • L liona

      Hi, I am running vs 2003 and uploading a user defined excel sheet into an asp.net web form (vb.net code). The sheet consists of 21 records with about 50 columns. The problem is that I have the datagrid on a DIV tag for scrolling. But when you scroll it is painfully slow. Can someone suggest how I can do this so it won't be slow. Thanks.

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      A DIV tag tell's me this is an ASP.NET app. You have no control over the scrolling speed of the web browser. ASP.NET code runs exclusively on the server-side, generating HTML for the client. It's up to the client how to render the page image.

      Dave Kreskowiak Microsoft MVP - Visual Basic

      L 1 Reply Last reply
      0
      • D Dave Kreskowiak

        A DIV tag tell's me this is an ASP.NET app. You have no control over the scrolling speed of the web browser. ASP.NET code runs exclusively on the server-side, generating HTML for the client. It's up to the client how to render the page image.

        Dave Kreskowiak Microsoft MVP - Visual Basic

        L Offline
        L Offline
        liona
        wrote on last edited by
        #3

        Yes it is an asp.net app with vb backend. So there is no way to make this run faster on a machine something. It is an internal application that is running terribly slow on every machine that I have tried including mine.

        D 1 Reply Last reply
        0
        • L liona

          Yes it is an asp.net app with vb backend. So there is no way to make this run faster on a machine something. It is an internal application that is running terribly slow on every machine that I have tried including mine.

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          liona wrote:

          So there is no way to make this run faster on a machine something

          No. There is nothing you can do in your code to speed the scrolling up. Once the browser has the page, that's it, your ASP.NET code is no longer running. You said it was 50 columns wide?? Try providing another method of narrowing that down. If there's one thing I hate about web pages, it's scrolling side-to-side to read information on it.

          Dave Kreskowiak Microsoft MVP - Visual Basic

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups