silverlight

In Silverlight does DateTime get affected if the client-side CPU is overclocked?

In an Silverlight application, if the client-side CPU is overclocked, would the DateTime structure return the correct time? ...

Other ways to disable Silverlight in IE 7?

I know I can disable the Silverlight add-on using the Manage Add-ons dialog, but what other settings would cause Silverlight to not function and display the Install link, if the correct version of Silverlight is actually installed on the computer? Silverlight applications do not display (they show the Install link) in Internet Explorer ...

Silverlight WCF Service Bound to Grid - Grid is Blank ... am I missing something?

Here's my situation - I am starting my first SL application coming from a Windows background where I have the MVC pattern in place. I am thinking I can take advantage of tha pattern, so I jump right in to creating a SL application (solution) with 3 projects --> 1 holding my Model (business objects from before), SL app (automatically gen...

Trying to rotate text for a groupbox

I'm trying to create a groupbox-like element in XAML (for a Silverlight 2 app) but with a twist. Normally a groupbox would consist of a border, with the main content placed inside the border, and a header content placed over the border itself. What I'm trying to do is place the header text over the left side border, rotated 270 degree...

"Add Service Reference" reference.svcmap and ServiceReference.ClientConfig empty

I have an ASMX service that I wan't to add to my Silverlight project (in the near future this will be converted to a WCF service). When using the "Add (or Update) Service Reference" not all the files seem to be created and files under Reference.svcmap aren't created and the ServiceReferences.ClientConfig is empty. Has anyone ever come ...

Silverlight TreeView detect node expansion

I must be missing something obvious - how can I detect when a node is expanded in a Silverlight TreeView? ...

How to make a Silverlight Custom Control's property data-bindable?

Hello, I have created a custom silverlight control, which consists of two date pickers, and a combobox. I would like to make the combobox data-bindable and I know I need to make use of a DependencyProperty. What I am not sure of is exactly how to build it. Here is the code that I have: #region ItemsSource (DependencyProperty) //...

prism silverlight instantiate a new view

I need to instantiate a new view on a command Imagine I have a "new employee" button in a module and when you press it, I want to create a new employee view, you press it 3 times and I want to have a tab with three elements in it and each tab page contains data for an employee, then you can save and/or close each tab page separately. ...

Stream a WAV File From The Web In Silverlight 3

I've managed to discover Gilles Khouzam's playback implementation for WAV files in Silverlight 3 and while that would be the majority of the battle, I'm stuck on a final detail: how do I pull a wav file from the web some place and then feed it into his WaveMediaStreamSource for playback? Here's the closest I've come: public MainCon...

Get the image ID of the Clicked image in silverlight Deep Zoom?

Hi Guys, I am in designing the site something like hardrock memorabilia using slverlight DeepZoom.. And i have managed to create dynamic static image lists and it was working fine with all the zoom & Pan features.. But i wanted get the id or name of the clicked image to display the Information balloon around the selected imag...

Is a DelegateCommand the same as an "Attached Behavior"?

I have been using the DelegateCommand found in the MVVM Visual Studio template at CodePlex. This works very nicely for having Views be able to execute commands on their ViewModel. I read somewhere that in MVVM "attached behaviors" should be used. As far as I can tell, "attached behaviors" are the same type of pattern as DelegateCommand ...

Adding onLoaded handler for Silverlight via HTML

Hi guys, I am not a pro in Silverlight 2.0, but for those who are, is it possible to add an event handler for the Silverlight host via javascript in an HTML file. In short, is it possible to add parameters to the object tags like these <param name="onLoaded" value="myjavascripthanderforloaded" /> <param name="onMouseEnter" value="myjava...

Silverlight - where do you start (for free)?

First I've read loads of posts and sites that recommend going to http://silverlight.net/GetStarted/ to get started but I do not have visual studio and I'm not going to purchase it just to 'maybe' learn some silverlight that I'm not going to be able to use for a little while. The reason being that I've already installed visual studio and...

Can you make 3d product models in SilverLight 3?

I've been using ViewPoint to make 3d models for some time, but I'm intrigued with the prospect of moving those models to Silverlight. I have pretty good asp.net experience but have never created a Silverlight App. Are there any good tutorials out there on creating 3d models in Silverlight 3 beta? ...

How to Query and count an Employees table and Project table in one linq query in silverlight?

I have two tables an employee table and a project table and I am looking to bring back a count of the number of employees assigned to each project. In the employee table I have employeeIDs and projectIDs, and in the projects table I have projectID, name, department, notes, etc. I am looking to bring back the following information and d...

Automatic Scrolling in a Silverlight List Box

How can I programmatically force a silverlight list box to scroll to the bottom so that the last item added is always visible. I've tried simply selecting the item. It ends up as selected but still not visible unless you manually scroll to it. ...

Question About Silverlight and how the application is loaded

Hello all In Silverlight 3.0 we can now create applications with multiple pages using the navigation framework, My question is : When we run the application does the whole application gets loaded up at once or it gets loaded up when we navigate to a particular page ? This is probably important for those who want to create an applicati...

MVVM Experts need your opinion on MVVM and Dataforms

Hi, as far as I understand the ViewModel should abstract the model from the view and add additional logic to handle the presentation stuff. My question is: How would I create a dataform that is suppose to handle user input for an order and details at once. It should present fields for entering the orders as well as the fields for 1 de...

How do I space out the child elements of a StackPanel?

Given a StackPanel: <StackPanel> <TextBox Height="30">Apple</TextBox> <TextBox Height="80">Banana</TextBox> <TextBox Height="120">Cherry</TextBox> </StackPanel> What's the best way to space out the child elements so that there are equally-sized gaps between them, even though the child elements themselves are of different sizes? ...

How do I change a standard library project to be a silverlight library project?

I've downloaded the Ninject SVN visual studio project and I want to compile it against Silverlight libraries to make a Silverlight compatible DLL. Is there a setting to change somewhere to make it a Silverlight library project, or do I need to swap in and out references here and there? ...