I created a WCF service and I planned to consume this in a Silverlight application. So I created the WCF service in the Website host project. The service is a simple WCF service that only returns a number - something like a Hello World WCF-SL.
So after adding a service reference in the silverlight client project to the Service URI, after...
I am using the Silverlight sdk for Bing Maps. I have my map, I have my PushPins all mapped out. Now I want to disable the user from zooming out so far they see the whole world and keep it constricted to the just the US. It would be nice if there was something simple like Map.MaxZoom but there is not. Any help?
...
byte[] binaryData = new Byte[pngStream.Length];
long bytesRead = pngStream.Read(binaryData, 0, (int)pngStream.Length);
string base64String = System.Convert.ToBase64String(binaryData,
0,
binaryData.Length);
I hav...
I've been working on a Silverlight application.
I just noticed that the .xap file is now four times as big as it was, what could have caused that?
Here's some other info:
there seems to now be many more language settings in the bin/Release directory
I checked "Reduce size of .xap" in under Properties/Silverlight but that just brought ...
We currently have a XAP file which contains Foo.dll, and another XAP file (with a completely different name) which contains an updated version Foo.dll (but the same version number).
When we run the second XAP file, it looks as though the Silverlight runtime on the client, is picking up the old version of Foo.dll from the first XAP file....
Hi ,
I have a ChildWindow , in which I have a Video Playing in Expression MediaPlayer.
When I press the FullScreen Button then the whole Application switch to FullScreen Mode , but I want only the Child Window to be Full Screen.
Thanks,
Subhen
...
I have a Silverlight Datagrid, I'd like to make certain cells readonly programmatically.
Specifically I have a CellEditingTemplate, I'd like to turn the cell editing off or on depending on the value of CategoryTypeName (see the xmal below).
<local:DataGridTemplateColumn Header="Category" >
<local:DataG...
Hello,
you will think: "This problem has been solved many, many times. So why doesn't he use Google?" Please, believe me, I tried everything. I'm dealing with this problem since last week. I read many blogs and searched the MSDN. But I don't get it.
So here is the problem. There is one Silverlight 4 app and a WCF DataService, both are ...
Hello friends. I have WPF Application. Is it possible to quickly convert WPF app to Silvelight application, if not which technic I have to use to transform my WPF app to Silverlight. And also I want to know about limitations of Silvelight app.
Thank you in advance.
...
Hi ,
I have silverlight app that post some data to another web application ,the data to post is converted to base 64 using code
byte[] byteArray = Encoding.UTF8.GetBytes(sDataToPost);
sDataToPost = Convert.ToBase64String(byteArray);
Another webapplication
get the data using the code
strText = System.Text.Encoding.ASCII.GetString(Sy...
Good day!
I have such a template:
<common:HierarchicalDataTemplate x:Key="my2ndPlusHierarchicalTemplate" ItemsSource="{Binding Children}">
<StackPanel Margin="0,2,5,2" Orientation="Vertical" Grid.Column="2">
<CheckBox
IsTabStop="False"
IsChecke...
Anybody knows how to debug a web service hosted by an IIS in a Silverlight 4.0 application?
My IIS version is 7.5 and my operating system is windows 7.
Can you please specify the steps on how to?
Thank you so much
...
I have a UserControl which contains a listbox and few buttons.
<UserControl x:Class="ItemControls.ListBoxControl"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.o...
Hey. I have a tabcontrol that is bound to an observable collection.
I've tried doing
var tabitem = (TabItem)this.SingleOrDefault(ti => ti.Name == tabname);
tabitem.Focus();
((UserControl)tabitem.Content).Focus();
And it does seem like it focuses on the tabitem, but only on a btn in the header of the tabitem, not on the conte...
I have a few .xap files under my clientbin folder. However I am not able to get the silverlight controls working as it seems to get a 404 error - fiddler says so :)
Much appreciate your help
...
I have RIA services installed and also have silverlight 3.0 but there is no system.windows.controls.data.dataform . On account of this, I am unable to use dataform control . WHat should I do?I have also tried to download the same but unable to find it.
...
Hi all,
I would like to ask if it is possible to take screenshot of current user control programmatically and save as a file in silverlight 3.
I found some ways to save as an image file for a Canvas in silverlight 3, but how about user control or childwindow ?
Thanks,
...
I've been looking at (and getting confused by) Dependency Properties - I'm not sure if this is what I need or if there is something else.
I'm looking to something very specific with <Path.Data/> children in Silverlight, in particular <PathGeometry/>, <EllipseGeometry/>, etc. While the <Path/> element has a .Fill property, I'd like to a...
Hi,
I am adding a WCF Service Reference in a Silverlight project, it is generating code with XmlSerialization attributes for DataMembers than SOAP Serialization. But, if the same WCF service reference is added in an ASP.Net project, is generating code with SOAP Serialization attribtues. Can anybody let me know what could be the cause fo...
I have a Silverlight application that implements some basic CRUD operations on a fairly flat data set. The application loads all the data onto the client to allow for quick editing (this is a fairly small data set no more that a couple K). I would like to allow them to download the file as a CSV so they can edit the data locally.
I kn...