silverlight

Cannot create the Silverlight ASP.NET website in Visual Studio 2008 Web Developer edition

I need to create a ASp.net website with silverlight controls. I am having only express editions of 2008 (Web developer edition and C# express editions). I have created the WPF application sing C# expression and create the new XAML files. Then I have created asp.net website in web developer edition and linked the xaml files with the . ...

Setting Width/Height of an HTML popup window

Hi! I have a silverlight application running in a popup window. How can I set the width/height of the HTML popup from within silverlight (and change it during runtime). thx, asdu. ...

Using web client in Silverlight

I am having a heck of a time calling a RESTful service from within silverlight. I am encountering this error: {System.Security.SecurityException ---> System.Security.SecurityException: Security error. at System.Net.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult) at System.Net.BrowserHttpWebRequest.<>c__Disp...

How can I set a Silverlight DatePicker Control to be ReadOnly ?

How can I set the System.Windows.Controls.DatePicker control as used within a Silverlight project to ReadOnly ? There doesn't seem to be any properties that I can set within the Xaml or code behind. ...

In WPF/Silverlight is it possible to bind to an HTML-like TableControl?

...

Override (IE7) browser keyboard handling from Silverlight.

When I test my Silverlight 2 app in Firefox, when Silverlight has focus, I have no problem receiving every key press via the Page.KeyDown event. When I test it in Internet Explorer 7, I can only get keyboard events that the browser doesn't already handle. HOWEVER, I can override those same keyboard events in javascript. For instance, C...

Silverlight 2 dynamic data binding Converter

In Silverlight 2.... I have a RadioButton in my xaml code as follows: <RadioButton GroupName="Gender" Content="Male" IsChecked="{Binding Path=Gender, ConverterParameter=1, Mode=TwoWay, Converter={StaticResource RadioStringConverter}}" Width="49" HorizontalAlignment="Left"/> This works great. My issue is in trying to duplicate this f...

Silverlight helix passing objects from one page to another

I am using the Helix Project for page navigation in my Silverlight application. It has a feature were you can pass parameters through like query strings in asp.net, but since it is essentially loading usercontrols in one main usercontrol, is it possible to pass objects like classes or usercontrols from one page to another. ...

Silverlight/WPF Many to Many List of Checkboxes Binding

I have an entities model with a many to many relationship. For simiplicity, lets assume its a car entity and a feature(cd player, moonroof, etc.) entity. I have a Silverlight/WPF form in which you edit the car entity. I would like to have the list of possible features (everything in the features table) be a list of checkboxes. That par...

Public Facing High-Traffic Silverlight Sites

What sites do you know of that are using Silverlight? This information will help us to decide when to adopt the Silverlight platform. The sites should be public-facing and be considered high-traffic. (at least 300,000 hits per month). We are a Microsoft shop and Silverlight is based on .NET, so that is very attractive to us. But my res...

Is there value in using a Silverlight framework?

I'm three weeks into designing a Silverlight 3 LOB application and I've decided to go with Entity Framework, RIA Services, and the MVVM pattern. Now I'm looking into all the glue. I'm checking into behaviors, ICommand, dependancy properties, IoC, etc. There are a number of frameworks for Silverlight as of this writing. Silverlight.FX ...

Trouble with SetTop in Silverlight WPF app

I am not able to use SetTop property Canvas in Silverlight App. Following is the minimal code to reproduce the problem from System import TimeSpan from System.Windows import Application, Duration, PropertyPath from System.Windows.Controls import Canvas, TextBlock from System.Windows.Media import SolidColorBrush, Colors from System.Windo...

Silverlight Dynamically sized table

I'm very new to Silverlight so I apologise if this question is obvious but I want to create something similar to a HTML table that can have any number of rows from 1 to x. I need the table to grow with the number of rows added to it. Additionally, I would like to be able to set the width and height of the table as a whole and have all ...

Reference the default Style for a control in Silverlight

How do I reference the default style that appears in generic.xaml? I am trying to create a static class that returns known styles for a custom control. I know how to pull the styles that exist in App.xaml, but I'm not sure how to grab the generic one. public static class VehicleTypes { public static readonly Style SportsCar = /*??...

How can I keep a Button/TextBox/etc in session?

Hello, I have a canvas on my page and when i click a button i'm creating a new button dynamically on my canvas. So, i whant to keep my button somewhere where i can access anytime anywhere on my project( to change text for example, or to format it).Can someone give me a solution? ...

Visual Studio extensibility (add-in): How to access Silverlight-related properties?

This is the question that has been posted to MSDN forums some time ago, and stayed unanswered to this day: http://social.msdn.microsoft.com/Forums/en-US/vsx/thread/676b13d4-acfc-4252-b102-5fc0553e4b81/ The property I'm interested in is ProjOutputReferences, stored in the Visual Studio solution (.sln) file. In Visual Studio, this prope...

Silverlight or WPF Remote Desktop UserControl

Is there a custom UserControl created in WPF that allows for RDP access. I know there's the ActiveX control for RDP 5.1 but I would prefer something that can be embedded within a Silverlight application. ...

DirectX programming on Windows, what is the preferred way?

I need to develop a part of a business application in a flashy eye candy way. Therefore wanted to see if I can use DirectX. Here's what I got. First I read how using C/C++ is like shooting yourself on the foot and I should use DirectX.NET instead. I couldn't disagree. It's the 21st century. Downloaded DirectX SDK but couldn't find the ...

How to apply default style to control in custom control

Hi, I have a custom control which is dynamically adding a number of checkboxes. I can't figure out how to apply a default style to them from code in the custom control (from the generic.xaml file) ...

Silverlight master page

hello I am new to Silverlight and have decided to give it a go. I have no idea how to create a master page (page.xaml) using Silverlight... Any help will be appreciated, Thanks ...