6/8/2008 3:17:01 PM
Maybe someone can help me troubleshoot this. I started to follow Scott Guthrie's 8-part series on getting started with Silverlight but hit kind of a wall. His example used a WatermarkedTextBox which I was unable to add. I took some horrible screenshots to show how I went about trying to add to my form.
You can clearly see that this is in my Visual Studio 2008 Toolbox.

Now a horrible attempt to convey dragging and dropping onto my form. When I typed it out in the designer as Scott did it doesn't work either. This was my second option as I am usually not a fan of wizard dropping.

When I drop at that spot I am greeted with this gem:

Any takers? I ended up creating my own watermarked-textbox by writing some C# code to handle some of the regular-textbox events. I'd ultimately like to use these snazzy new features since I figure that's why they are there in the first place :D
UPDATE
I'm having issues with the StackPanel as well when creating a template for a ListBox. It's the same FORMATETC structure deal :(
Silverlight

Comments

The WatermarkedTextBox control was removed from Silverlight 2 beta 2. I`m not sure as to the reason but I`m currently trying to get the source from the Silverlight 2 beta 1 WatermarkedTextBox control to compile under beta 2.
Posted by: Craig Nicholson | 6/9/2008 7:59:35 AM