Solved

Silverlight Pivot Viewer

Posted on 2011-03-02
1
759 Views
Last Modified: 2012-05-11
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
Comment
Question by:jimseiwert
1 Comment
 
LVL 3

Accepted Solution

by:
Iwouldratherbegolfing earned 500 total points
ID: 35024024
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
Here I am going to explain creating proxies at runtime for WCF Service. So basically we use to generate proxies using Add Service Reference and then giving the Url of the WCF service then generate proxy files at client side. Ok, what if something ge…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

837 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question