I have been playing around with Silverlight & F# and tried to make a Silverlight 4 application in VS2010 Professional.
When I try and compile my application I get the following error message...
Error 12 F# runtime for Silverlight version v4.0 is not installed. Please go to http://go.microsoft.com/fwlink/?LinkId=177463 to download and...
As you may know Silverlight has support for local storage. We are looking at creating Sl application that will work in off line mode.
This application may require quite a bit of data to be cached on the client side.
Obvious solution - use local storage with some sort of XMl based structure won't work as our PoC showed due to performanc...
I am using several Blend behaviors and triggers on a silverlight control. I am wondering if there is any mechanism for automatically detaching or ensuring that OnDetaching() is called for a behavior or trigger when the control is no longer being used (i.e. removed from the visual tree).
My problem is that there is a managed memory leak ...
I am developing a navigation menu in silverlight that has 6 images. As you mouseover each image grows and clicking on an image will take you to a page on the website. The customer I am doing this for decided that straight rectangular images were boring and I showed him a design where I have slanted each image so each one is now a rhomboi...
So say for example I created a few small squares in expression blend.
I then group them together by selecting them, right clicking and selecting "Group Into -> Grid"
So now that they are in the grid, I'd like to be able to resize this grid and then they would resize but it doesn't happen, it just resizes the grid but leaves the vectors...
I have a Silverlight app that connects to a php webservice. I want to encrypt the communication between the webservice and the Silverlight client. I'm not relying on SSL. I'm encrypting/decrypting the POST string myself using AES 256bit Key and IV.
The big questions then are:
How do I generate a random unique key/iv pair in PHP.
How...
How do you implement a Silverlight 4 command to execute when the user control loads instead of being mapped to an explicit button click?
...
So I am wondering if anyone is familiar or has done any work with cucumber and Silverlight. I currently have a template directory and build file that will create RSpec tests using Bacon (light weight RSpec). I have been looking into SpecFlow and Cuke2Nuke but almost everything I have seen works with general .net code not silverlight co...
I am trying to devise a security scheme for encrypting the application level data between a silverlight client, and a php webservice that I created. Since I am dealing with a public website the information I am pulling from the service is public, but the information I'm submitting to the webservice is not public. There is also a back end...
In silverlight 4 Beta there used to be a contol called flowlayout control.
Now i am not able to see that in the silverlight 4 rc. please let me know if anything needs to be installed to get that control.
...
Hi guys.
I'm recently want to develop an application for my company. I've checked the Silverlight 4.0 and WCF RIA Services. Its really amazing and I got tempted to use these services for our application. But I have a couple of questions:
Is there any ways to prevent unauthorized users not to be able to connect to the service and enumer...
I'm building a menu using Prism (using a trtelerik tree view with hierarchy data templates but hopefully the details don't matter) and I'm trying to set up a Click.Command on each menu items bindings that will all call the same delegate command which is defined in the view model. The menu is built up out of items which I don't really wan...
Hi there,
I've got a question about a Silverlight WCF Databinding pattern:
There are many examples about how to bind data using {Binding} expressions in XAML, how to make async calls to a WCF service, set the DataContext property of a element in the UI, how to use ObservableCollections and INotifyPropertyChanged, INotifyCollectionChang...
Recently I installed Silverlight 4 plugin and noticed that windowless mode now works correctly with FireFox. I quickly read SL4 release notes but cannot find answer.
Can I use SL3 controls (we are using a LOT of DevExpress and Infragistics controls) in SL4.
...
Recently I'm learned how to call SIlverlight methods from JavaScript.
All works fine (even in Chrome !).
But in FireFox 3 (3.6.4) registered Page object is undefined.
My Code is very simple
silverlight
[ScriptableMember]
public bool HasFilter()
{
return true;
}
And in MainPage constructor
public MainPage()
{
InitializeComponen...
Hi,
I'm using mvvm light to build a Silverlight application.
Is there a code snippet that shows how to access a view model's property or command from within another view model or user control's code behind?
I guess it's simple, but I somehow missed something.
Ueli
...
There are 4 months since I stopped developing my Silverlight Multiplayer Chess game.
The problem was a bug wich I couldn't reproduce. I am very sad because this was a test and many Silverlight multiplayer games will come if this will be a success. There are no examples on the internet about how to do stuff like that, not to mention th...
Hi, I have a ViewModel that starts loading the Model async in the constructor, and triggers an event when the Model is loaded. I got a test working with the silverlight unit test framework, like this :
bool done = false;
[TestMethod]
[Asynchronous]
public void Test_NoCustomerSelected()
{
ProjectListViewMode...
I am trying to use theming within my application, but I am having a problem with my styling not being applied correctly. I run the following lines of code:
App.Current.Resources.MergedDictionaries.Clear();
ResourceDictionary rd = new ResourceDictionary();
rd.Source = new Uri( "/Style2.xaml...
I am writing a custom control based on RichTextBox that needs the ability to process MouseLeftButtonDown events but must not allow user-initiated selection (I'm doing everything programmatically).
I tried setting a flag in MouseLeftButtonDown to track dragging and then continuously setting the RichTextBox.Selection to nothing in the Mou...