Gridview not displaying after sort

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • stoogots2
    New Member
    • Sep 2007
    • 77

    Gridview not displaying after sort

    Using ajax, .net 2.0, and when I click a column header of my gridview (when it has more than say 1000 rows), the data gets sent back to the client (the file size is roughly the same when I monitor it using fiddler), but it does not display. I am using UpdatePanelAnim ationExtender and two javascript functions (onUpdating and onUpdated) which are pretty simple. Any Ideas? What is strange is that smaller results display with no problem at all.
  • Ramk
    New Member
    • Nov 2008
    • 61

    #2
    Well with this information, I could not arrive about the exact problem.But, a quick scan about the following could help us.
    Did you override the sort method of the grid to perform the custom sorting?
    If Yes, try to check whether sort logic is working properly.
    No, do post little code.

    Comment

    • Frinavale
      Recognized Expert Expert
      • Oct 2006
      • 9749

      #3
      Have you tried sorting without the animation extenders attached?
      Does it have the same result?

      Comment

      • stoogots2
        New Member
        • Sep 2007
        • 77

        #4
        Interesting

        I had to drop this as I got moved to another project. I noticed that after 30 seconds, the page no longer loads anything. When the column header is clicked, it takes 30 seconds for 900 rows to sort and the page to be refreshed. I also noticed that I am downloading the "semi-sprite" which I am using for background, for each row. Is that normal? I thought sprites were supposed to be downloaded only once per page and reused. I have the background images set in a css class RowStyle and AlternatingRowS tyle with the repeat-x option. When I removed the background image the results were the same though.

        Comment

        Working...