Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

IQueryable returns 3693 Items but only inserts the first 1000 to dropdown lists

$
0
0
Hi all,
I am querying SharePoint to retrieve all the lists of accounts. I can see that I have 3693 account items when I query the results. However when I convert this into a lists or insert this as DataSource of a dropdown field, it only takes the first 1000 items of the results. 

Code preview
...
var organisations = from d ....... ; 
Debug.WriteLine("Results returned.. " + organisations.Count());//3693
Debug.WriteLine("Results converted to Lists " + organisations.ToList().Count()); //1000
dropdown.DataSource = organisations; OR dropdown.DataSource = organisations.ToList();
//only displays the first 1000
... code continues

Am I inserting the data wrong? Help!

Regards,
Roldan

Viewing all articles
Browse latest Browse all 7589

Trending Articles



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