Advanced Forum Search Results
-
Here is how you could implement this:
public class LanguageConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
{
var languages = (IEnumerable)parameter;
return languages.Where(l => ...
-
ConverterParameter is only a string value (and is passed in as parameter).
-
Part of the issue is that typically you would be binding this to just a property on your ViewModel (like SelectedLanguage). In your case you want to bind it to the list item that has a certain property, so you need to use a converter to go from a list to a single item.
I'll take a look at your code to see what I can find.
-
I believe that is why the activity control doesn't show a percentage but rather just displays an animation. It would be very hard to make a true progress bar since you would need to create some way to report back the progress and calculate it as well.
-
If you're not using pages and a frame which is what the navigation app uses, then you might want to take a different approach. Check out Robby's deep linking example using jQuery history. I've used that approach in applications in the past and it works great.
-
You can still use WCF just as before. The only issue might be the objects that get generated from the service reference won't be in the same namespace as the ones from RIA so you'll have to translate between them.
Have you tried using InvokeOperation or ServiceOperation instead of taking the WCF route? What issues are you running into?
-
You should be able to set this using a Binding and a ValueConverter. Point the Binding to the same list of languages as the combobox ItemsSource is pointing to. In the ValueConverter return the item that has languageSelected = true.
-
According to this blog post:
“Caching” Of Policy Files
Silverlight looks up the cross domain policy file for a particular server ONCE per application session. (Where an application session is the lifetime of a particular xap or xaml page instance in memory.)
Also, we use the browser networking stack to issue the request for the policy ...
-
Sorry, I'm not sure I understand the question. You should set the imageBrush.ImageSource = img after the ImageOpened event has fired.
-
I think this got missed. Still showing the not found image.