Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

Retaining large lists during postback in custom application pages for task forms?

$
0
0

Hello,

Can I have a recommendation regarding the best way to store a large list (with a possible of maybe hundreds or thousands of records) so that I can have it be retained during postbacks? Here is my scenario:

- I want to create a custom workflow task form, in which I retrieve correlated data based from two list in my SharePoint site.

- There is a point in which I display data in a GridView, and one of the items I have there is a Drop Down List (this is not in edit mode). I want to take note of ONLY the items that have their Drop Down List values changed, and am currently doing this using the SelectedIndexChanged event. However, doing this requires postback for the event to happen.

- I then need to find a way to store my data or lists within the same page, so that I won't have to load up all items all over again. I've been told I could use Sessions or ViewStates, but since I am dealing with large lists I am thinking this might cause performance issues (specially with Sessions since it is stored in SQL).

Can I have recommendations how to do data retention between postbacks with dealing with large data?

Thanks!


Viewing all articles
Browse latest Browse all 11571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>