silverlight-3.0

Returning Associated Members via Ria DomainService Invoke Method

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 =...

Fade image to grayscale in silverlight

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#? ...

Magnify pan and zoom Image in Silverlight

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. ...

Bullets and Numbering in Silverlight

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...

Downloading Files in Silverlight 3

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...

How to create circle button with image background and CLICKING feel IN Silverlight

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...

Silverlight 3 - No Built In Menu Control?

Is there no such thing as built in menu control in Silverlight 3? ...

Silverlight 3 - Binding To A DataGrid

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. ...

Using MEF to handle authoerization/user-access w/ the Navigation Framework.

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...

Silverlight performance design tips

What's your top 3 Silverlight performance design tips? Thanks ...

Serving Up Word Document From SIlverlight

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? ...

How to make my ListBox not to call SelectionChanged event, when I assign ItemSource of my list

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...

Background buffer music in Silverlight

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...

Drag and drop same item from TreeView to multiple ListBoxes in Silverlight 3

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 ...

Why SilverLight 4.0 but not SilverLight 3.0?

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...

Silverlight DataGrid no DataGridComboBoxColumn

In Silverlight there is no DataGridComboBoxColumn in the DataGrid. This is sad. What is the best way to recreate this functionality. ...

Best WCF 3.5 for Silverlight 3 learning sources?

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 ...

How to disable a button which has Command property in Silverlight 4

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...

Silverlight DataGrid - Validating New Rows When Have Not Edited Individual Cell

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? ...

putting Button inside a TextBlock(or maybe something else) to make it work like the one on video??

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...