I got this DomainService method I'm calling from my SL ViewModel using the Invoke attribute:
[Invoke]
public ServiceModel.Recipy GetRecipyById(int recipyId)
{
return new Recipy
{
RecipyId = 1,
Name = "test",
Description = "desc",
Author =...
I'm using expression blend and can't figure out how to go about fading a color image to grayscale. Can I do it in the xaml or do I need to handle this in my C#?
...
How can i implement zoom , Pan , Magnify in silverlight.
I have big image so my image is inside scroll viewer.
and after zooming and panning i need to save position and zoom setting in database so when user back to screen can see same image area.
...
I'm looking for some comprehensive library for Silverlight on bullets/numbering. I've found a few, like Vector Light's RTB control, but most are lacking extended features of bullets/numbering that word processing programs have, like having the First Line Indent of a great value than the Hanging Indent (e.g. first line indent is 1 inch an...
I have a data grid of strings which are the names of files on a remote web server.
So my question is, when the user clicks on a row in the datagrid, a corresponding file should then be downloaded by the web browser. The same way you normally browse to a website and click on a file link which then opens in the browser and begins to downl...
Hi
Right now i can change the look of the button to an ellipse with a background image.
However, when i click on it, i don't feel the CLICKING EFFECT of the normal buttons in Silverlight
Can anyone help me how to get that effect?
this is my XAML style for the round button
<style x:Key="roundButton" TargetType="Button">
<Setter Pr...
Is there no such thing as built in menu control in Silverlight 3?
...
In WPF I would use an ObjectDataProvider. This dosn't seem to be available in Silverlight 3.
Is this just meant to be done via the C# code.
...
I think im starting to understand how to use MEF now. But im still not sure what the best way of utilizing MEF in order to handle controlling user access.
For example: Im using the silverlight navigation framework. And each navigation menu item is to be either disabled or not shown at all if a particular user has rights (i.e. roles, cla...
What's your top 3 Silverlight performance design tips?
Thanks
...
I have a silverlight app. I want it to serve up a word document through it.
The document will not exist anywhere physically, but will be coming into my silverlight app via a webservice call.
Is this possible?
...
I have a combobox, that I populate from a web service:
public Configure()
{
InitializeComponent();
WebServiceSoapClient ws = new WebServiceSoapClient();
ws.GetTypesCompleted += new EventHandler<GetTypesCompletedEventArgs>(OnGetTypeCompleted);
ws.GetTypesAsync();
}
void OnGetTypeCompleted(obj...
I'm making a game in Silverlight, and I'd like to give it some background music. And in particular I'd like to avoid including the MP3 in the initial download (the XAP) - so that the user can start playing before the music has finished downloading.
How do I:
Dynamically start playing an MP3 file from a given URL
Have the MP3 file star...
Hi,
I understand I can use a TreeViewDragDropTarget to wrap the TreeView and the ListBoxDragDropTarget to wrap the ListBox and then I can drap and drop items from one to the other.
But I am not sure how I can drag an item from the TreeView to the ListBox and don't actually remove the item from the TreeView, as I might need to drag the ...
Hi,
As far as I understand to develop a SL 4.0 application I will need to upgrade VS 2010 because CoreCLR of SL 4.0 seems to use some parts of .NET 4.0.
Which means extra cost for me regarding to licensing of VS 2010 + Resharper 5.0.
But if I prefer SL 3.0 instead of SL 4.0 I won't need anything to upgrade and I can go on with my VS 2...
In Silverlight there is no DataGridComboBoxColumn in the DataGrid.
This is sad. What is the best way to recreate this functionality.
...
Hello, I was learning WCF 3.5 and I already know some Silverlight (Basically what I've been learning while deloping in WPF which is transferable to Silverlight), and I just noticed that creating WCF services for Silverlight is a little different than 'regular' WCF services. I've been looking for books that concentrate in this topic, but ...
Hi
i have a button which has a Command property .
However , i want that button to be disable (user can't click on it) until another button has been clicked. For example, user can only click on the Save button after the New button has been clicked
So i do the following
<telerik:RadButton Content="Save" Height="22" HorizontalAlignment="R...
I have a silverlight datagrid.
Validation works very well using DataAnnotations. However if I add a new row to the grid I don't get validation kicking in until I actuall try and edit cells.
Is there no way to force the grid to validate when a cell has not been clicked on?
...
Hi
with Silverlight 4,
I am trying to create the TextBlock just like the one on the Microsoft LightSwitch(Modal Window Picker) . So I can use it as a customControl inside the GridView columns.
this is the link from youtube: you can see the one i am talking starting at time 08:54 / 14.50
on the Business label
http://www.youtube.com/w...