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. Web Development
  3. ASP.NET
  4. Scroll down in the grid view fetches next set of records without freezing the screen

Scroll down in the grid view fetches next set of records without freezing the screen

Scheduled Pinned Locked Moved ASP.NET
helpcsswpfwcfquestion
3 Posts 3 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.
  • R Offline
    R Offline
    Rohit_daga
    wrote on last edited by
    #1

    Hi All, My problem is i am binding around 8,000 records in the gridview and the problem is it is taking more than a min to display data onto the browser. I know one solution can be to use Paging but client does not want paging as he has to search something in grid using ctrl + F feature of the browser. My question is can i load data in a gird view asynchronously just to make the reterieving of data somewhat faster or like as i scroll down in the grid it fetches next set of records without freezing the screen. I have seen this type of feature applied in various E-Commerce sites. Can you please help me. Best Regards Rohit

    V A 2 Replies Last reply
    0
    • R Rohit_daga

      Hi All, My problem is i am binding around 8,000 records in the gridview and the problem is it is taking more than a min to display data onto the browser. I know one solution can be to use Paging but client does not want paging as he has to search something in grid using ctrl + F feature of the browser. My question is can i load data in a gird view asynchronously just to make the reterieving of data somewhat faster or like as i scroll down in the grid it fetches next set of records without freezing the screen. I have seen this type of feature applied in various E-Commerce sites. Can you please help me. Best Regards Rohit

      V Offline
      V Offline
      Vani Kulkarni
      wrote on last edited by
      #2

      Hi Rohit, It is really surprising to see your client's requirements. However I even agree to the fact that requirements will always be wierd :-D :laugh: from a developer point of view. It is anyways a bad idea to show all the records at once. What would you do if the number of records increase to 20K or to 1 million? I would suggest you convince your client, get the paging implemented for the gridview. Another option would be, give a search functionality in the page. Based on the search criteria load the relevant records. Look at the following links, all of them suggest to use paging. Second link talks about some Telerik control, which loads records on demand by scroll. You can check it out. Loading records in the grid view while scrolling down,No Paging technique.[^] displaying-large-gridviews-efficienty-in-asp-net[^]

      Thanks & Regards, Vani Kulkarni

      1 Reply Last reply
      0
      • R Rohit_daga

        Hi All, My problem is i am binding around 8,000 records in the gridview and the problem is it is taking more than a min to display data onto the browser. I know one solution can be to use Paging but client does not want paging as he has to search something in grid using ctrl + F feature of the browser. My question is can i load data in a gird view asynchronously just to make the reterieving of data somewhat faster or like as i scroll down in the grid it fetches next set of records without freezing the screen. I have seen this type of feature applied in various E-Commerce sites. Can you please help me. Best Regards Rohit

        A Offline
        A Offline
        Alok Sharma ji
        wrote on last edited by
        #3

        as the above answer suggest giving all data at once is not a good practice , why not convince your client to use search from gridview (you can provide search box above gridview) IMHO you should convince him/her for that because as the records will increase the performance of your project will go down with time no matter what you use (Async or not) because even browser apps take space in memory and soon with so much data if its not a good system, the browser will start crashing(Personal experience) regards Alok sharma

        sometimes noobs perform better but its sheer luck...

        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