following scenario: I have x amount of elements with different dates. I want to group those elements by date and display all elements for each day. I want to display only 3 days per page. Data is loaded on page refresh in a model.
What I am currently doing is load all elements in global.asax and have a list of objects which I am using for the relation between page id and date. Now when I open a page with the id 1, I get all videos with the date according to the id. Now when I add an item to the database, I'd obviously have to redo the whole process. I was wondering if there was a better way to handle this whole thing.