I have just been informed that the Silverlight 4 Toolkit (latest download) requires the prior installation of VS 2010.
We are setting up an automated build server for a very large Silverlight Prism project and would prefer not to do a full install of VS 2010 on an unmanned build machine.
Is VS 2010 actually required for an install of ...
I have a site that host more then 60 services.
With the simplified version of the wcf configuration, i dont have to speficy all the services and its corresponding endpoints.
The question is how do I speficy the service host to use the same behaviorConfiguration for all servies endpoint ?
I don't want to list all the endpoints in the ...
I would like to implement a custom zoom slider for a Bing Maps control in my silverlight application. I can set up the mechanics of it in a pretty straightforward way:
<Slider ... Value="{Binding ZoomLevel, Mode=TwoWay, ElementName=MyMap}"/>
However, I can't find a way to bind the Maximum and Minimum properties of the Slider to the ma...
I have created a Silverlight User Control. The markup is:
<StackPanel Grid.Row="4" Grid.Column="0" Orientation="Horizontal" Width="Auto" Margin="5">
<Button Content="OK" Margin="0,0,5,5" MinWidth="50" Command="{Binding OKCommand}" />
</StackPanel>
The code behind declares a Dependency property 'OKCommand' as:
public ICommand OKC...
I have a PHP script running via crontab on hourly basis under Linux.
This script is basically does some tests against database and returns results,
smth like: table_name, number_of_rows, number_of_duplicates.
Also, I have a Silverlight Dashboard for displaying various data and now I want to include results of the tests.
So, question is:...
I have a Silverlight app that gets a unique sequence # back from a WCF call to a db. From there I wanted to pass that into a printing function that opens the print dialog. But the problem is that I get a security exception if I call the open print dialog from the WCF call back (the dialog can only be opened from user click event).
I t...
I have a BitmapImage object that contains an image of 600 X 400 dimensions. Now from my C# code behind, I need to create two new BitmapImage objects, say objA and objB of dimensions 600 X 200 each such that objA contains the upper half cropped image and objB contains the lower half cropped image of the original image.
...
Hi ,
Please let me know how i can hide the scrollbar from being displayed in Silverlight.
I dont want vertical or horizontal scrollbar. i want to hide both . PLease help
...
I have a very old application developed in Delphi C++. It has an api for which it has access to it. The application has given a sample source code in which there is a windows application which uses this api using Windows messaging system which is RegisterWindowMessage. Now I would like to create a interface to a silverlight. I have prese...
Hey there,
I am clueless in what is causing this but I get an error when my ria service if less than 2 items are been returned, everything works ok if I have 2 or more records been returned.
My domain data source looks like this
<riaControls:DomainDataSource
AutoLoad="True"
x:Name="dsEmployee"
LoadedData="d...
hi,
i've started learning Silverlight 4 RIA services. i've gone over alot of samples of how to bind data to a grid. but always there object being bound is a simple one with no child tables.
in my DB there's a table for employees and a table for city names (with id field as pk). in the employee table theres a FK to the CityId field.
t...
Hi,
I am using the MSAF library for my Silverlight Google action tracking, however I cannot get it to work out of browser/offline and there is very little info about it in the wild.
I run fiddler and can see the hits being logged on the live site, however, when my app is offline or running OOB, actions never show up in fiddler or the G...
Hi ,
I have byte array for the silverlight XAP . I need to extract all the dll's inside the xap from the byte array. Once I get the dll's I need to extract the assemblies from it.Silverlight XAP is stored in a repository and the repository always return me XAP byte array .Is there any Standard API available in C# to achieve this functi...
Hi All
At Silverlight 4.0 XAML page (not using code behind), I'm binding Source to Image control. I want to show default image when retrival ImageUrl (from Database) is null or empty.
I'm trying the TargetNullValue as following , but not showing default image when ImageUrl is null or empty
<Image Grid.Column="0"
...
Does anyone know if you can find out if the print dialog's cancel was clicked?
I've seen post and doc that say "EndPrint – Event fired when the printing is either completed or canceled. "
But I don't think that is the print dialog's canceled... I think the is if the print job is canceled.
thanks
...
Hello. I've a small inheritance-tree like this:
BaseGuest
-> GuestA
-> GuestB
-> GuestC
BaseGuest has a member 'Firstname' which is required for GuestA and GuestB, but not GuestC. So I've there are Required-Annotations on GuestA.Firstname and GuestB.Firstname.
[Required(ErrorMessageResourceName = "FirstNameRequired", ErrorMessag...
I'm having a problem with data annotations and the automatic tool tips on my DataForm fields. The objects bound to the DataForm have been decorated with the Display and Description attributes e.g.
[Display(Name = "Email Address:", Description="We do not sell your information!")]
public string EmailAddress { get; set; }
The expected to...
Is it possible in Silverlight 4 to create a border with rounded corners that clips any of it child UI Element? So far I have attempted to do so by setting a button as a child element of a border control but the buttons does not get clipped when I set the corner radius to create rounded corners in the border.
...
I've been using the DataContractJsonSerializer class to send data from a Silverlight 4 control to the server (currently as a serialized string via Http Post at the moment). The class in question serializes great on the silverlight / client side but deserializing back has been a problem on the server. The closest I've gotten is inclusio...
I can't seem to find a way to determine the size of a file in Isolated Storage besides opening up the file stream and calling the "Length" property. Is there a more efficient way of doing this?
Thanks
...