Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1067377
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T20:08:58+00:00 2026-05-16T20:08:58+00:00

I’m tying to make a radgrid that sorts items like a bank statement. By

  • 0

I’m tying to make a radgrid that sorts items like a bank statement. By this I mean it has to follow a specific pattern.

All the data is pulled in one linq statement and put into what is essentially a list.

Each page must have an ascending sort (by date dd-mm-yy) from top to bottom. This means we should see :

26/09/10 | item 1 | €9.00

27/09/10 | item 2 | €3.00

29/09/10 | item 3 | €12.00

12/10/10 | item 4 | €25.00

This is simple enough as I would just be setting the sorting order to ascending.
My problem however lies in the following :

The bank statement will be laid out over a number of pages with 10 items per page. The pages must be sorted in DESCENDING order. This means the statements will look like this :

PAGE 3

13/10/10 | item 16 | €9.00

14/10/10 | item 17 | €3.00

15/10/10 | item 18 | €12.00

17/10/10 | item 19 | €25.00

18/10/10 | item 20 | €9.00

19/10/10 | item 21 | €3.00

21/10/10 | item 22 | €12.00

22/10/10 | item 23 | €25.00

24/10/10 | item 24 | €12.00

27/10/10 | item 25 | €25.00

PAGE 2

15/09/10 | item 06 | €9.00

16/09/10 | item 07 | €3.00

18/09/10 | item 08 | €12.00

01/10/10 | item 09 | €25.00

03/10/10 | item 10 | €9.00

07/10/10 | item 11 | €3.00

08/10/10 | item 12 | €12.00

12/10/10 | item 13 | €25.00

12/10/10 | item 14 | €12.00

12/10/10 | item 15 | €25.00

PAGE 1

09/09/10 | item 01 | €9.00

09/09/10 | item 02 | €3.00

10/09/10 | item 03 | €12.00

12/09/10 | item 04 | €25.00

14/09/10 | item 05 | €9.00

Also, the 1st visible page is page 3, so essentially, page 1 will be where it begins, and page 3 is where it ends, however, the highest number page is shown first.

My thinking is to break every 10th value off and seperate the data into lists of size 10. Then do my sorting on them. I have a feeling that this could get quite messy given a large volume of data.

Another idea of mine is to sort them by placing the values at the end of the list first (i’m not sure about the implementation of this though)

Has anyone ever worked with something similar before and could they steer me in the right direction please?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T20:08:58+00:00Added an answer on May 16, 2026 at 8:08 pm

    You could do your normal LINQ query to fetch records in batches of ‘n’ in normal date ascending order and then set the radgrid to sort the date in descending order so it effectively does the reverse sort for you. You need to configure the radgrid to tell it that you are doing the pagination.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

No related questions found

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.