Displaying Large Datasets in SilverlightVersion: 1.0.0 DescriptionLab 2 of this module demonstrated basic databinding by showing how to wire a collection directly to a Silverlight control. That works great for smaller collections of data, but what about large collection - numbering in the thousands. What is the best way to handle those scenarios? This lab walks through one possibility - breaking the dataset down into smaller chunks and moving through the data one page at a time. OverviewLab 2 of this module demonstrated basic databinding by showing how to wire a collection directly to a Silverlight control. That works great for smaller collections of data, but what about large collection – numbering in the thousands. What is the best way to handle those scenarios? This lab walks through one possibility – breaking the dataset down into smaller chunks and moving through the data one page at a time. ObjectivesThis lab will demonstrate how to use the ListItemCollectionPosition object to control our position in the dataset. This allows us to request the next page of data and simply bind that to our controls. System RequirementsYou must have the following items to complete this lab:
SetupThe setup and configuration for this demo involves the following tasks:
Task 1 – Starting The Microsoft 2010 Information Worker Demonstration And Evaluation Virtual Machine (RTM)
Task 2 – Making Sure That Silverlight Version 4 Is Installed On The Machine
Task 3 – Installing The Silverlight Web Parts Extensions Into Visual Studio 2010
Task 4 – Making Sure That The Silverlight 4 Tools For Visual Studio Are Installed On The Machine
Task 5 – Configuring the Environment For This Demo
ExercisesThis Hands-On Lab encompasses the following exercises:
Estimated time to complete this lab: 30 minutes. Starting MaterialsThis Hands-On Lab includes the following starting materials.
|