silverlight-2.0 Questions

5

Solved

I'm building a custom control in Silverlight by deriving from ContentControl and doing some special formatting to put a dropshadow behind the contents. I've nearly got it working but have recentl...
Aerostat asked 11/3, 2009 at 20:33

4

Solved

I have a Silverlight application which has on it a Canvas. On that Canvas, I dynamically "paint" a bunch of stuff, but adding controls to the canvas. I have a button outside the Canvas area which ...
Youngster asked 30/1, 2009 at 22:34

2

Solved

I have a project that uses a DataGrid with a custom template so that I can add a special row to the bottom of the data rows. I would like this special row to be pinned under the last row but not as...
Noachian asked 11/5, 2009 at 19:54

3

Solved

I have a DataGrid in my Silverlight application and it works nicely, adding a row or removing a row as I manipulate the ItemsSource collection. However, I want there to be an additional row, or con...
Delphiadelphic asked 4/2, 2009 at 18:25

11

Solved

As the title says really. I've had a look at inheriting from TextBox, but the only sensible override was "OnKeyDown", but that just gives me a key from the Key enum (with no way to use Char.IsNumer...
Electrode asked 6/11, 2008 at 10:19

1

Solved

I want to bind both the SelectedText and SelectedItem properties of an AutocompleteBox because my client wants to be able to input text and select from the list also. It's working properly but ... ...

2

Solved

Well, as the title suggests: I have a storyboard and I want it's animation to start without the intervention of code. The reason for this requirement is that I am targeting Silverlight Embedded a...
Undistinguished asked 28/12, 2009 at 9:39

5

Solved

UPDATE: An alternative title for this could be: How do I call javascript from my silverlight 2.0 application. Here is a quick question for all you Silverlight gurus. I have a Silverlight app that...
Musil asked 16/2, 2009 at 9:38

5

Solved

Possible Duplicate: How to convert UNIX timestamp to DateTime and vice versa? I've got the following class: [DataContractAttribute] public class TestClass { [DataMemberAttribute] p...
Nectarous asked 30/10, 2008 at 10:1

5

Solved

I am working on a silverlight app that you need to enter information into a textbox and then just hit enter. Well there is no onclick event, that I could find, so what I did was use the onkeypressu...
Unmannerly asked 23/11, 2008 at 20:33

8

Solved

What I am trying to do when the user is in a textbox (in silverlight 2.0): When user presses the decimal point (.) on the numeric pad, I want to have it replaced by the correct decimal separator ...
Cambell asked 4/12, 2008 at 9:6

4

Solved

What is the best way to create a clone of a DTO? There is not an ICloneable interface or a BinaryFormatter class in Silverlight. Is reflection the only way?
Tonitonia asked 14/10, 2008 at 20:38

6

I'm trying to make a simple crossword puzzle game in Silverlight 2.0. I'm working on a UserControl-ish component that represents a square in the puzzle. I'm having trouble with binding up my UserCo...
Coauthor asked 8/4, 2009 at 12:15

4

Solved

I am just getting started with Silverlight and have recently added a Silverlight project to an established solution. In this particular scenario my solution included an existing ASP.NET web site (n...
Unsuspected asked 16/10, 2008 at 2:56

7

Solved

Lets say I have a custom data type that looks something like this: public class MyDataType { public string SimpleProp1; public string SimpleProp2; public List<SomeType> ComplexProp; } n...
Prove asked 1/4, 2009 at 7:46

5

Solved

I'm looking for a way to automatically set the initial focus on a Silverlight UserControl to a specific control. I have a login page with a user name textbox and I'd like to have it so that as soon...
Lashio asked 14/7, 2009 at 16:8

5

Solved

I am currently trying to bind a collection of objects to a Canvas in Silverlight 3 using an ItemsControl as below: <ItemsControl x:Name="ctrl" ItemsSource="{Binding myObjectsCollection}"> &...
Rancor asked 28/10, 2009 at 13:53

6

Solved

Now that Silverlight 2 has finally shipped. I'm wondering if anyone has put together any logging frameworks for it, maybe something like enterprise library logging or log4net? I'm interesting in so...
Channel asked 23/10, 2008 at 6:29

8

Solved

I'm tinkering with Silverlight 2.0. I have some images, which I currently have a static URL for the image source. Is there a way to dynamically load the image from a URL path for the site that is ...
Blacktail asked 24/10, 2008 at 2:37

3

Solved

I am new in Silverlight. When I add some control to my xaml file with Visual Studio it set controls name with Name property, but there is also x:Name. Is there any difference and when to use each o...

6

Solved

In my quest to develop a pretty data-driven silverlight app, I seem to continually come up against some sort of race condition that needs to be worked around. The latest one is below. Any help woul...
Paroicous asked 27/2, 2009 at 18:41

4

Solved

In Silverlight 2 I'm using a usercontrol which inherits the datacontext of the page that it's embedded on. This datacontext contains question text, a question type and a collection of answers. In t...
Thetis asked 22/12, 2008 at 8:25

8

Solved

I'm working an project (pure hobby, "Sharping my skills") which has one unified back-end and multiple front-ends (ASP.NET MVC 1.0/JQuery and Silverlight 2). When I try to add reference to my busine...
Intelligencer asked 6/4, 2009 at 13:14

4

Solved

If I have a usercontrol (in Silverlight) that I've written, that uses XAML to define it's appearance, how can I make a customised version of it? i.e. I have MyControl.xaml & MyControl.xaml.cs ...
Hauler asked 22/10, 2008 at 14:7

3

Solved

I wanted to get a sense of the average user experience of having to install Silverlight in order to use the Silverlight applications I've been making. I fired up a virtual machine with clean brow...
Kristankriste asked 7/2, 2009 at 10:47

© 2022 - 2024 — McMap. All rights reserved.