silverlight-3.0

Silverlight Toolkit Modifying October 2009 Source

I have some changes I need to make to the Silverlight toolkit Charting source I downloaded the Silverlight toolkit ... unzipped the source to a new directory Added the Controls.DataVisualization.Toolkit.csproj Project to my Solution Removed The reference in my silverlight application to System.Windows.Controls.DataVisualizatio...

Silverlight 3 localization configuration

I would like to know how I can configure my Silverlight application to be able to change the UICulture of the current thread without having to recompile the application. If I set the current thread culture in the app.xaml, I need to recompile each time to change the culture. If I add an Application Settings, how can I retrieve that inf...

Re-open the DropDown of an AutoCompleteBox in Silverlight when a user presses Enter

If a user types a few characters into an AutoCompleteBox, the DropDown is displayed as expected. If the user then clicks elsewhere on the page, this removes the focus from the AutoCompleteBox, and the DropDown disappears... also as expected. However, if a user then returns focus to the AutoCompleteBox, and wants to redisplay the Drop...

Silverlight TabControl Inheritance Fails in Expression Blend.

I create a basic TemplatedControl via Visual Studio. I then inherit TabControl instead of Control. It technically works (ie passes compile) but inside Expression Blend 3, I get an error " object reference not set to an instance of an object". Then if i click on the TabItem itself, the error goes away? anyone experience this? I tested ...

SL3: How can I make a path 'selectable' to allow user to change its style?

Hello, We use System.Windows.Shapes.Path to visually connect elements in our application. Is it possible to 'select' the Path object and give it focus? We want to allow our users to change some style elements of any Path object. In our LeftMouseButtonDown handler, we detect that we have clicked on a Path object, but then what? I hook...

Wrap Text Silverlight radio button

Good Day, Is it possible to have the text in a radio button wrap itself? For example, I have a border area to work with that's approximately 350 pixels wide and I want to position some radio buttons in there. I can do that, but when the text is long, I cannot wrap the text. TIA, coson ...

Dynamically load images from database and display in Silverlight 3 image rotator

I have a Silverlight 3 image rotator that displays approx.7 images. You can rotate it back and forth, and it will make the left or right image the selected image. The rotator is using jpg images that resides in an image folder. I would like to dynamically load image strings from the database, since I have hundreds of images available. My...

Dashboard with re-arrangeable dashboard elements in Silverlight?

I need to create a dashboard with re-arrangeable/re-positionable dashboard elements (similar to iGoogle) using Silverlight. The dashboard elements are typically tables of data. The user should be able to dynamically add and remove dashboard elements. The user should also be able to use drag and drop to reposition the dashboard elements. ...

Silverlight filter/class for cloud generation?

Silverlight filter/class for cloud generation? Some HLSL or just C# class for generating clouds? ...

Why is my Twitter web request bombing out?

I've been working my way through Tim Heuer's Silverlight tuturial, in which you set up a basic interface to search Twitter. I started on the tutorial yesterday, completing through Step 3. It all was working fine. Now, though, I can't call Twitter without getting a "System.Security.SecurityException" error in the OpenReadCompleted handler...

Where can I download the source of Silverlight's OOB demo

There is an excellent demo of using Out Of Brower (OOB) disconnected Silverlight on the official home page of: http://www.microsoft.com/silverlight/silverlight/demos/oob/default.html Does anyone know where I could find / download the source of this and modify it to use as a proof-of-concept to show my boss so he can green-light a Silve...

How does one detect SetBinding sucess or failure in Silverlight?

Simple binding from C#: Binding binding = new Binding(SourceName); binding.Mode = BindingMode.TwoWay; BindingExpressionBase beb = SetBinding(SourceDependencyProperty, binding); I would like to detect whether or not the SetBinding was successful. SetBinding obviously knows when it has an issue because it displays in the Output w...

Can Silverlight play videos with transparency?

Can Silverlight play video with transparency? At least some tricky way for color keying with C# or HLSL? So if you know any way how to please post some info. If yes. What do I need? MSDN if there is any help on this. Open Source Libs/wrappers. Tutorials and blog articles on How to do it. If no: I need know where did you get th...

Resize an Uploaded Image in Silverlight 3

Hi, I'm trying to resize an image in Silverlight 3 that has been submitted by a user via the OpenFileDialog control. I can grab the contents of the file and put it into a WriteableBitmap object and then display it on the screen just fine into an Image control. The Image control will even resize it to fit the size of the image control for...

AppDomain.GetData method not accessible?

I am developing a Silverlight 3 application and I would like to delegate all unexpected error handling in a single instance of a class I have named ErrorHandler. This class has one method named HandleApplicationException, plus a couple of other methods to handle more specialized errors. In my application I am using Unity for dependency ...

Silverlight 3 XamlReader Exception not caught

Hi, when I use XamlReader.Load() with an invalid XAML string, the resulting XAMLParseException is not caught although beeing in a try-catch-block: try { UIElement xamlCode = XamlReader.Load(XamlText) as UIElement; } catch (Exception ex) { ErrorText = ex.Message; } The code is called from the Tick-Event of a Disp...

.Net Ria Services Deployment

I am having difficulty deploying RIA services/Silverlight 3 to a staging environment. Here is my situation: 1) I am using RIA for authentication. This works fine on both my development machine and in the staging environment. 2) I created a custom LinqToEntities RIA service to get data from the database into my application. This servi...

How do I make a Silverlight popup with a TextBox fill its parent?

I have a popup within a user control. The popup uses a TextBox to show a textual preview of data produced by the control. How do I make the popup size itself to the user control it's inside of? With code as shown below, I find that the text box is sized according to its content, and the popup is sized according to the textbox. It wor...

How to make transparent background of Silverlight 3 application?

How to make transparent background of Silverlight 3 application? I have the next code but it does not work ( <html xmlns="http://www.w3.org/1999/xhtml" > <!-- saved from url=(0014)about:internet --> <head> <title>BGtest</title> <style type="text/css"> html, body { height: 100%; overflow: auto; } bo...

How to enable scrollbars in silverlight 3.0

Hi all, I have set my canvas width to 1500 and height to 1600 in my xaml page in silverlight 3.0. When I run the testpage I can't see scrollbars. So I am not able to scroll to view rest elements. I also need to set scrollbars for a grid. How to enable scrollbars? Please help. ...