I'm trying to populate a ComboBox programatically. I am creating ComboBoxItems and would like to set their text (the text that is visible for the end-user) and their value (the object that I will handle in the background after the user has selected it.
However the ComboBoxItem seems to only have one member for these two requirements: th...
I'm trying to send some data using a simple HTTP POST in Silverlight 3.0 but for some reason I can't seem to find a good example on how to do this.
So far this works, but how do I send some data along w/ the request?
Public Sub SubmitMessage()
request = WebRequestCreator.ClientHttp.Create(New System.Uri("http://localhost:27856/Home...
I'm trying to build the latest drop of the Silverlight Toolkit with VS2010 Beta 2. I get errors on all the projects:
"Analysis of Silverlight assemblies is not supported."
The error code is CA0055. The error goes away if I uncheck Code Analysis in the project properties.
Builds just fine in VS2008. What's the problem?
...
I am developing a SilverLight Project using SilverLight BusinessApplication Template RIA services.I want to navigate from one xaml page to another xaml page on the click of a Button that is placed on the first Xaml Page. i don't want to use Hyperlink button.
Any Suggestions...
...
I have a Silverlight application, and added a Silverlight-enabled WCF service. I would like to deploy this as an intranet solution using Windows authentication without anonymous access.
Out of the box, the WCF service adds the following settings to the web.config:
<system.serviceModel>
<behaviors>
<serviceBehaviors>
<behavior...
Hi,
I have an event that I am subscribing to in a View Model. The event subscription is done in the constructor of the view model which is created via unity.
What I found is if I subscribe as:
showViewAEvent.Subscribe(ShowViewAHasBeenRequested) or showViewAEvent.Subscribe(ShowViewAHasBeenRequested, False) I get the following error:
...
Hi,
Is it possible to change the default background colour of black in Silverlight Encoder Templates?
We have a website that requires a white background, instead of the default black bars for aspect ratio video.
I'm using Expression Studio 3.
Any help would be appreciated.
Rich
...
I have a Silverlight application which loads about 2000 objects of half a dozen fields into an AutoCompleteBox. The filter is then set to search on any of four of the fields. I've set it to begin searching after two characters.
However, when I type the second character (when the box is supposed to start populating) for the very first ...
I am having a problem naming listbox items in a silverlight listbox. The listbox is bound to a DTO collection so the items are determined dynamically at run time. The listbox, itself, is easily named with the x:Name tag in the xaml in this way:
<Client:OurListBox Grid.Row="3" Grid.Column="0" x:Name="OurListBox"
...
I have a web application which extensively uses Windows Common Controls ActiveX controls for User Interface. These mainly include Listview, Treeview, Common Dialog etc. With these controls I get very good performance in load times and also these controls provides very good communication with JavaScript.
Recently I enabled supporting Un...
So I'm using both xml files listed below with no luck. They both exist in the root of my IIS hosted web service on a different web server (behind the firewall). The web service is a simple POX like service that returns a JSON string.
Also I'm trying to get access to this service from a cassini run project on my local machine (to test ...
I have a navigation app with 5 pages. I also have a usercontrol with 3 radio buttons. This usercontrol is used by all 5 pages in my app. By default the first radio button is selected. However if the user clicks the 3rd radio button and I go to another page I want my usercontrol to still show that 3rd radio button as selected. How...
I have a silverlight application which reads data from a db and displays them in a grid.
As far as i understand it there are two ways to do it.
1) Read db with a server-side language, such as php, create a file in the server which you can later use in Silverlight to read the data.
2) Connect "directly" using Silverlight code with your db...
Hi guys,
Basically, I have a silverlight 2 client (hence my use of SLSvcutil) that needs to access a WCF service.
Anybody know how I can prevent SLSvcutil.exe from decorating OperationContracts with FaultContractAttributes?
I'm running SLSvcUtil against a WCF service who's operations are all decorated by Faultcontracts.
Unfortunately...
It seems like these two technologies, already similar, are on a path to merge into a single technology. There are a lot more WPF-like controls in the Silverlight toolbox, and WPF now has Silverlight's VisaulStateManager. At this point, it's probably fair to say that Silverlight has even surpassed WPF in terms of the number of themes avai...
Hello. I'm rewriting an LOB application whose architecture is like this:
Silverlight && Windows Mobile -> WCF
-> Entity Framework -> Database.
The mobile app was supposed to be able to do certain things as the silverlight app. What benefits would I get from using RIA Services here? Whats the advantage and disadvantage of RIA Serv...
I'm learning Silverlight and am trying to ingest some new concepts. Just so I understand, is the data binding feature found in Silverlight part of Silverlight itself? Or is part of the underlying .NET framework itself?
...
I have a DataGrid which I am binding to a PagedCollectionView which is Grouped and Sorted. The contents of the DataGrid are not editable although one column contains a clickable link.
I have restricted the SelectionMode of the DataGrid to DataGridSelectionMode.Single which stops multiple Row selection which is good. But the selected row ...
I need a control in silverlight that shows a CPU performance in real time just like the windows task manager does.
Something like:
...
Hi,
We have been creating silverlight unit tests by creating a plain vanilla .net unit test project, removing all references except for the unittestframework one, and then adding references to the SL assemblies we need (system, System.Core, ...). For more information, look at this blog post. We can do this, as we are adhering to the ...