Tag Archives: silverlight

Config file issue to make you rip hair out

I spent about 2 hours staring at this lovely cryptic error: Extension element ‘silverlightFaults’ cannot be added to this element.  Verify that the extension is registered in the extension collection at system.serviceModel/extensions/behaviorExtensions I had it setup correctly, but why would the system not compile it? This was the registration: <add name=”silverlightFaults” type=”Seekford.SilverlightFaultBehavior.SilverlightFaultBehavior,Seekford.SilverlightFaultBehavior, Version=1.0.0.0, Culture=neutral, PublicKeyToken=7073c134a4dabf61″… Read More »

Bind Title for the ChildWindow to a localized resource using MVVM and Extension

I need to ensure my Silverlight application is localizable, so I am binding to a localizable resource file in the project. The issue is, how do I bind to the Title property? It crashed when trying to bind to a local resource since it hasn’t loaded the resources at this point. Even though the designer… Read More »

DelegateCommand in Prism loses eventhandler and CanExecute never gets called

I beat my head against the all for half a day wondering why the DelegateCommand doesn’t work in my Silverlight application. Very frustrating. I traced the code in and somehow the event handler loses its reference. I am guessing it something to do with the WeakReference being used to store the event reference. Anyway, after… Read More »

Display Silverlight loading Interstitial without blocking design surface

My Silverlight application makes a lot of web service calls on the initialization of the view model. I don’t want the user touching things while it loads but I also want the user to be able to be visibly notified something is happening and to wait. In comes a nice interstitial control/loading panel I wrote.… Read More »