If I click to make my Silverlight object fullscreen in Firefox 3.6 it works successfully, but then if I select a different window (I'm running two monitors so can do this) then a new window appears in my Windows taskbar titled 'Microsoft Silverlight' which is where my fullscreen Silverlight application now lives. So it's moved out of Fir...
I'm trying to create a resource Style for a Path (Shape), however, when creating several Paths that use the Style, only the first one is rendered.
//In resources xaml
<clr:String x:Key="path">M 50,50 L 35,15 A 8,10 0 0 1 65,15z</clr:String>
<Style TargetType="Path" x:Key="pathStyle">
<Setter Property="Stroke" Value="Black">
</Style...
I have read that SL4 introduces the ability to data bind properties on objects that derive from DependencyObjects, where previously data-binding only worked on FrameworkElements or FrameworkContentElements.
However, I am not clear on how the binding source is determined when binding properties of DependencyObjects.
In the case of Frame...
Hi,
I wanted to create a slanted tab header using the tabitem control in the silverlight toolkit. I want it to look like the image below but i'm not sure how to accomplish this.
http://img713.imageshack.us/img713/1462/silverlighttabs.png
Any help and direction would be gladly appreciated
Thanks,
Keith
...
Hi,
I'm trying to connect to an API, which is hosted on an SSL connection.
This is the crossdomain:
<?xml version="1.0"?>
<cross-domain-policy>
<allow-access-from domain="*" secure="true" />
</cross-domain-policy>
That's all there is.
Now I try to connect, but I always get a security exception (no more info given).
Now the pro...
My OOB app was working fine. I stupidly renamed all my namespaces and my project names/filenames. (Eventually) I got it all working again but my OOB shortcut stopped working. I removed and reinstalled it but it will not load and throws an error (see below).
It creates the shortcut on my desktop, but if you look at the Target of the sho...
I'm looking for an example of a 'device ring', somewhat like the one used in Live Mesh (anything in a ring will do) in XAML (WPF/Silverlight). Preferably with demo code or open-source so I can have a look at how things work under the cover. Other animations, like resizing of the elements if they move around the ring, are a nice extra, bu...
Hi,
I am trying to work with silverlight, wcf data services ( on the website code) and Linq-to-Entities. I know that anonymous types don't work on silverlight then I created a known class in order to retrieve some information. (I know the query it is not exactly intelligent, but It is only an example) but It is not working. can somebody...
WCF-service is hosted by ASP.NET web-site. ASP.NET Membership is not used in web-site. User is logged using "custom" page, ID of logged user is stored into Session (HttpContext.Current.Session).
WCF-service is consumed by Silverlight (4 version) application.
How to check if current user (that loaded Silverlight application) is authoris...
I'm having an odd issue with Expression Blend 4. I've been using Blend 4 in conjunction with Visual Studio 2010 for quite a while without incident (beyond the ultra-frequent crashes). Now our graphics designer wants to start using Blend to do some touch-up work.
We were able to get Blend to compile the solution on his computer. Unf...
Hello,
Let's say we have a JavaScript class:
function toy() {
this.hello = function(msg) {
alert('how are you? ' + msg);
}
}
In Silverlight in-browser mode, we can use HtmlWindow.CreateInstance to create an instance of JavaScript class and get the ScriptObject, like below:
var toyScriptObject = htmlWindow.CreateInsta...
hi
i made a prism silverligght app with SL 4.0 and .net 4.0 ,
i published app and put it on in iis and make that as web application on iis ,
when i browse .svc page or other page i give "The page cannot be found" error.
i set mime types for .xap , .xaml , ...
my os is windows server 2003 sp1 r2.
what is problem?
...
I'm new to Silverlight and I am trying to display the contents of a Dictionary in a Graph:
In codebehind:
ChartData = new Dictionary<DateTime, double> {{DateTime.Now, 10},
{DateTime.Now, 20}, {DateTime.Now, 15}};
And in the silverlight XAML:
<toolkit:Chart HorizontalAlignment="Left" Margin="113,168,0,0" Name="chart1"
Titl...
I want to open a new xaml file while keeping the original root running. At the same time as I want to play a video and when use click something else I don't want to exit I want to keep running the video in the background, any ideas or solutions?
...
Hi everybody,
Does anybody know how to set the font within a RichTextBox from a Stream?
TextBlock and TextBox do have the option to set the FontSource,
but classes like Run, Paragraph and the whole RichTextBox miss that. :(
Any reason for that?
Is there any known way to achieve that?
I already tried to set the whole source URI withi...
Hi,
I've downloaded the mvvm light toolkit source 4157, and try to use the EventToCommand.SL sample. It works well in Visual Studio 2010, if I use the silverlight 3 framework.
But if I select the silverlight 4 version (EventToCommand.SL project properties), nothing appears : the ViewModel method associated with the Command property is ...
I open my project, go to data tab, new sample data. It adds a SampleDataSource. I try to change the name of the first property and blend immediately crashes:
http://imgur.com/3hfq8.png
This happens no matter what page or control I am on. I tried this in a brand new project and I DID NOT get the error. Can't really start this project ov...
I create a simple silverlight 4.0 application used to read the excel file data in the share point 2010 server. I try to use the "Excel Web Services" but I get an error here when calling the GetRangeA1 method:
An unhandled exception of type 'System.ServiceModel.Dispatcher.NetDispatcherFaultException' occurred in mscorlib.dll
Additional ...
I am trying to declaratively bind a ComboBox within a DataGrid CellEditingTemplate using a ViewModel. The ComboBox is not being bound. What am I doing wrong?
XAML:
<UserControl
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:sdk="http://schemas...
I'm looking for a way to gain reference to a class that was instanciated via XML, but I need reference to it in imperative code. I usually do this via the datacontext of the control, but in this case, the user control does not have declaritive reference to the class that I require.
I know I have seen how to gain a reference to a class ...