Advanced Forum Search Results
-
AH-HA!!!! I found it! In my case, this error was getting thrown because of a Beta1 hack I was using. I wanted to bind to an object that inherited from DependencyObject, but you cannot subclass it. See this thread for more details http://silverlight.net/forums/t/13593.aspx. The hack I employed in Beta 1 was to ...
-
I'm also getting exactly that error. This code was working in Beta 1 and is throwing runtime errors in Beta 2. Anyone figure out the cause of this error?
-
In Beta 1, I was able to capture the KeyUp event for a Button control when the Space or Enter key was pressed. In Beta 2, these keys do not fire the KeyUp event - rather, they only fire the Click event. Is this change of behavior a bug fix from Beta 1 or a new bug in Beta 2?
-
Nice workaround. Thanks for the tip. It seems to have equivalent performance to using a hidden control inside the panel.
-
Simlar to Harlequin, I got it working today too. The VisualStateGroups line in the Xaml was underlined in Visual Studio with a compiler warning, but it runs and works as expected.
To upgrade from Beta1 Control Templates to Beta2 Control Templates, I just moved the code from the "Grid.Resources" Storyboards to the ...
-
If you haven't heard of it, the RIA Run contest was a programming challenge to make a casual game in Silverlight 2. The finalists were just announced and I was one of them . You can view and play the games at http://www.devx.com/RIA/Door/37728. It's cool to see some more Silverlight 2 examples.
My game is "Solar ...
-
I'm getting an odd error message in Visual Studio 200 with Silverlight 2 Beta 1. I am getting a compiler error in my Error List that says "Button does not support text content. [Line: 14 Position: 21]"
Here is all of the code I have written in this entire app. I created a new Silverlight Application project in ...
-
I just found two examples.
Using PopUp to make a menu: http://www.codeproject.com/KB/silverlight/DropDownMenuSilverlight2.aspx
Using PopUp to make a dialog: http://adoguy.com/2008/05/01/Creating_a_Pseudo-Dialog_with_Silverlight_s_Popup_Control.aspx
The PopUp control is not "a UserControl." It inherits directly ...
-
no right click yet in SL2 B1...
I'll cast another vote, requesting context menus.
-
The problem you're running into is that the Text property for Run is not a public DependencyProperty. To bind a XAML object, the property you are binding must be a DependencyProperty. I ran into the same problem recently.
I thought of subclassing from Run and implementing my own public ...