silverlight

"Genie" animation effect in XAML

What would the XAML look like to create a Genie animation effect? Take an object of any size/shape, and "Genie" it to another Minimized location. Kind of like the OSX window minimize. Maybe even a little fancier through a smoke-like effect where the path is more switch back, instead of a simple funnel (if that makes any sense). I'm gues...

Silverlight - Input is not in a correct format. - Which Resource file has this text?

Can someone please let me know where the error text 'Input is not in a correct format.' is defined, which is thrown when alphanumeric data is entered in a numeric column in a Silverlight application? Is it in a resource file? I am trying to find out how to display this message in other languages. Please note that this message is differen...

Windows Phone 7, MVVM, Silverlight and navigation best practice / patterns and strategies

Whilst building a Windows Phone 7 app. using the MVVM pattern we've struggled to get to grips with a pattern or technique to centralise navigation logic that will fit with MVVM. To give an example, everytime the app. calls our web service we check that the logon token we've assigned the app. earlier hasn't expired. We always return som...

Can silverlight detect or communicate across browser instances?

User starts up a silverlight application in their browser by navigating to a given URL. User then opens another browser and starts up the same silverlight application by navigating to the same URL. Can the second instance of the application detect that there is already an instance running on the same computer? Can it detect itself i...

Silverlight client never calls WCF Service

Hi all, This one has me completed stumped. I have developed a silverlight application that calls back to WCF services ( it's a silverlight - basicHttpBinding) The site works perfectly fine from my development machine, but when it is deployed to the developement server. The application is delivered with the XAP just fine, but it never...

Silverlight web content on Windows Phone 7

Windows Phone 7 uses Silverlight as one of its "native" development APIs. But does the Windows Phone 7 version of Internet Explorer support Silverlight as a plugin so you can view web-hosted Silverlight content? ...

Silverlight or HTML 5 - what looks better on the resume?

To a developer who is about to delve into learning Silverlight would you recommend that its worth the effort OR would you say its better to focus on HTML5? I am asking purely from a marketability perspective ...

Speech recognition with Flash or Silverlight

I'm developing a web user interface to enter some information that is not very complex but needs to be loaded in real time. I think that the application could make use of speech recognition to facilitate the task. Te core of the interface is being built with Javascript and jQuery, but can easily include a flash or silverlight component...

Expand in linq not loading inner data collections from service.

I am seeing odd behavior with service queries! I am using MVVM pattern for a silverlight 3 app on 3.5 framework and Dataservices 1.5. The following code eager loads correctly the parent object and the child heirarchy perfectly IF and ONLY IF I am preloading the data. But I would like to fetch a different set of the parent object (and it...

Generating 2 random images from an array.

I am writing a Silverlight application. How do I generate 2 pictures from an array of images and display it on my screen? This is what I have now. private void PopulateCards(object sender, RoutedEventArgs e) { List<string> Level2 = new List<string> { "1", "2", "3" }; List<string> randomizedImageList = GetRandomList(Level2); ...

Image reflection in Silverlight 4

I am developing a product scrolling feature where products info( product image, Name, price)will be shown side by side horizontally. i need to show the image of the product and also its reflection. under the reflected image i need to show the Prod Name and its price. The problem here is i dont want to show the complete reflected image. ...

Help needed on ScrollViewer styles

Hi, Can any body please provide me, how can we made custom template for the ScrollViewer. Pointers to any simple tutorials will be greatly appreciated. Thanks, -Narendra ...

Silverlight 4 and MVC 2: cannot create a domain service class

I am following a tutorial and have the same scenario except I'm not using ASP.NET but MVC 2 instead. I am using VS 2010, adding a Silverlight 4 project to my existing app. I need to add a domain service class but there is no option for it in this MVC APP. What do I need to use? ...

Silverlight 4 toolkit, charting and lineSeries is null

Hi, I create a Silverlight Chart, with the Silverlight 4 toolkit, the April release. Consider the following chart: <Grid x:Name="LayoutRoot" Background="White"> <Charting:Chart Title="Chart to test" Name="MySuperChart"> <Charting:LineSeries x:Name="MyLineSeries" Title="Something" /> </Charting:Chart> </Grid> So far so good...

Designing a silverlight dashboard with mef - is it possible? (with dynamic loading of xaps)

Hello! I am just trying to wrap my head around MEF. And as I am really going to love it ( I guess ) I started my first sample project and immediatly stumbled into a big problem and now I am asking myself if I can use MEF for my scenario at all and that is the following: Imagine that one got some kind of dashboard with, let's say, five ...

Dynamically add columns to a listbox

I'm brand new to Windows Phone 7 development, and almost as equally new to Silverlight. I have a ListBox with a DataTemplate, StackPanel, and TextBlocks like so: <ListBox Height="355" HorizontalAlignment="Left" Margin="6,291,0,0" Name="detailsList" VerticalAlignment="Top" Width="474" Background="#36FFFFFF"> <ListBox.ItemTem...

Domain Services submit problem

Hi all, I have some simple forms in silverlight 4 using WCF RIA RC2 Domain Services. All of my forms appear to be working great, I went with the traditional code behind for granular control and formatting. The problem I am having is on one particular form the data isnt being updated unless I update one of the other fields. Here is my...

silverlight video streaming with mkv?

Where I can read documentation on how to implement mkv (containing h.264) video streaming in silverlight (any version). Or of a player that already does this? I can't find any information about it, just some blog posts where people claimed to have done it. ...

How to download media content on demand and reuse from browser cache in silverlight

Hi. I have a problem with simple silverlight app, this app has a couple of buttons, each button sets mediaelement source to a short mp3 file and plays it, my problem is that when i press the same button second time it re-downloads mp3 file again but i think it shouldn't, instead it should use a copy of browser cached mp3 file that was do...

Silverlight TabControl - Finding and selecting a TabItem from a given Control in the TabItem.

I am building a LOB application that has a main section and a TabControl with various TabItems in it. On hitting save the idea is that any fields in error are highlighted and the first field in error gets the focus. If the first, and only, field in error is on an Unselected tab the tab should then become selected and the field in error ...