Filed under
Why in Silverlight 3 do I still get these cryptic error messages? This happens quite frequently to me. I do a lot of copy/paste between my user controls in Blend or Visual Studio. Take a look at this XAML for a Button:
<Button x:Name="btnSave" HorizontalAlignment="Right" Margin="5" Content="Save" Grid.Column="3" Grid.Row="20" Click="btnSave_Click" />
I just copied this from another user control onto a new user control. It just happens to contain a handler for the Click event, "btnSave_Click". Well if you forget to create the event handler for it in your new control, you end up with the cryptic

To fix, go back to your XAML, right click on this:
Click="btnSave_Click"
and choose "Navigate to Event Handler". This will create a stub method for you and you can continue on.
Why in a V3 release are we still not helping developers along? Yeah, I goofed by just doing a copy/paste without also creating the event handler, but why isn't VS smart enough to tell me this?
84698eca-9eda-4957-bd7b-a28a4163dab6|0|.0