Is there a way to ensure that only a single instance of the desktop version of a trusted Silverlight 4 Out Of Browser app will run?
Or do I need to manually enforce this through the creation of a crude mutex of some sort?
If I must enforce this myself, I'd look at creating a file in isolated storage as a lock and then deleting it on e...
I am trying to connect to a secured ASMX web service over HTTPS using Silverlight 4.
When I add the web service reference I get challeged for credentials and I get warned that those credentials will be sent in clear text over the network; however, since the data is transported over HTTPS this should not be a concern.
The resulting Serv...
Hi,
I am building an image editor for Silverlight 4.0 and need some insight or possibly a snippet of code or library to implement contrast/brightness management.
I would appreciate if somebody would share how it can be achieved.
Thanks!
...
Hello,
I'm using RiaServices to populate a grid using an EntityQuery.
Since my database has millions of rows, I want to query only the current page, but also to bring the total number of rows for paging purposes.
Ex: 100 rows total
entityQuery.Skip(0).Take(10); //for the first page
entityQuery.IncludeTotalCount = true;
That brings ...
The title basically says it for me... I need to be able to get a reference to a control inside my IValueConverter implementation. I have seen plenty of posts around MultiBinding, which Silverlight doesnt have.
Can I use the ConverterParameter somehow to get a reference to its self?
...
Hi All,
My company is going to development drag and drop feature in Silverlight. We are very new to Silverlight and just learnt SL for a week ago. But I believe the feature that my company wants can be done in Silverlight. The control about is about the time table in which the resource will be shifted around.
Here is the feature detail...
Hi
I'm trying to get rid of the annoying "About Silverlight" context menu that pops up whenever you right click in a Silverlight application. I've added the usual ways:
In App.xaml
rootVisual.MouseRightButtonDown += ((s, args) => args.Handled = true);
and the same for all ChildWindows.
The problem that persist is in all "pop up"-c...
What I have doen has been based on this article:
http://msdn.microsoft.com/en-us/library/aa348547.aspx
I am trying to get a string from a merged dictionary that is loaded in app.xaml.
I am trying to do this from a class that is not a code behind file.
I know that the resource file can load in principle because page elements are being st...
Hi,
I'm making use of the MVVM Light ViewModelLocator. I have a class called GlobalViewModelLocator which is hooked up in the resources in the App.Xaml. This class has a static property called Main which returns an instance of the MainViewModel.
Then in the MainView.Xaml, I set the datacontext of the usercontrol to bind to the path of ...
Hi Guys,
I am writing card game using Silverlight and HttpPollingDuplex.
I have 4 seperate http duplex services, which can be called from my game (silverlight client)
1. ChatService
2. AuthService
3. LobbyService
4. GameService
After I host the game under IIS 7.5 I note with Fiddler that Silverlight client do polling requests sequ...
The MSDN documentation for Silverlight now states in several places:
The entire Triggers syntax is a discouraged technique in Silverlight 4. [1, 2]
Expression Blend seems to happily support and encourage their use, though, and there are plenty of blog posts extolling the use of Triggers and Actions without any caveats.
What is th...
Silverlight can use WCF, Web Services, REST based services, .NET RIA Services, but it seems like Silverlight and .NET RIA Services are preferred most.
I want to know if there are any common issues [which can be a show stopper if one goes ahead with this combo] that you have seen in practical implementation of SL with .NET RIA Services.
...
I have a combo box defined as such
<ComboBox Name="RoomDropDown" Visibility="{Binding Path=RoomDropDownVisible,Mode=OneWay,Converter={StaticResource BoolVisibilityConvertor}}"
ItemsSource="{Binding Path=RoomList,Mode=OneWay}" DisplayMemberPath="display" SelectedValuePath="display" SelectedValue="{Binding Path=R...
Hi ..
I built this SL4 project .. and it was working perfectly, after while I re-opened the project and pressed F5 to try it again.
After I add new item in Data Form, filling the required field and doing "SubmitChanged()" I get "Code : 4004 error message" .
I'm using Entity Framework + RIA services, I used EF profiler to see if the Li...
Hi,
right now i try to implement the Inheritance property of the Entity Framework.
I have two table in the database : DocumentLine and DocumentLineBudget.
in EF designer, I will make the DocumentLine as a base class. The DocumentLineBudget as a derived class from the DocumentLine.
Because of the Inheritance, there will have no availabil...
I am new to silverlight. I'm trying to convert a jquery tabcontrol page to a SL 4. on my previous page each tab was containing an iframe with its URL to an external page. Let's say, the first one is http://Google.com, the second one is http://Microsoft.com etc.How can i make in SL.
...
Hi guys!
I’m developing a Silverlight 4 application using STE with EF4. I created a Silverlight project with all the Entity classes generated with my STE T4 template and build properly on VS. But when I add a WCF proxy with Visual Studio and check the “Reuse types in reference assemblies” (having a referece to my Client.Model assembly w...
I'm trying to avoid the default Silverlight loading screen displaying before my applet and was trying to show a blank coloured background, the same colour as my applet's. The aim is to avoid the jarring white and make it look like it's all part of one app drawing.
I've discovered SplashScreenSource but I'm not sure how to hook that up ...
Hi,
I hava a web browser control in my silverlight application to display pdf documents.
The problem is the content does not get refreshed even after changing the source of the web browser control.
The first pdf file that gets load is shown in place of all the other pdf links.
The problem is weird since everything works perfectly fine w...
I'm having a problem with a trusted Silverlight 4 OOB app when it runs on a Mac.
In order to debug I'd really like to be able to capture the debug/trace information output by the app. (The problem is in in code running in a background thread so outputting debug information to the screen isn't practical and risks creating new issues.)
I...