Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 770
  • Last Modified:

Silverlight Pivot Viewer

I have a silverlight pivot viewer that has several filters available for the user. I would like to set one of these on load based on a querystring. How do i set a filter value from the code behind?
0
jimseiwert
Asked:
jimseiwert
1 Solution
 
IwouldratherbegolfingCommented:
From a sample project the query string should be something like this

Private Sub OnHybridSUVsClicked(ByVal sender As Object, ByVal args As RoutedEventArgs)
                  PivotViewer.LoadCollection(s_bingNewCarsCollectionUri.ToString(), c_hybridSUVsViewerState)
End Sub


Private Const c_hybridSUVsViewerState As String = "Body%20Style=EQ.SUV%2FCrossover&Fuel=EQ.Hybrid&%24view%24=1&%24facet0%24=Experts'%20Rating"
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now