RE: Invalid XML (Key attribute fixed)

2010-07-28 Thread Greg Keogh
The error Key attribute can only be used on an element was caused by pasting the block of XAML over from a WPF application into SL3. Simply removing the x:Key from the element fixes the problem with no side effects. I wasn't using the Key in code. However, more than an hour of web searching an

RE: Invalid XML (Key attribute fixed)

2010-07-29 Thread Peter Blois
mailto:ozsilverlight-boun...@ozsilverlight.com] On Behalf Of Greg Keogh Sent: Wednesday, July 28, 2010 9:29 PM To: 'ozSilverlight' Subject: RE: Invalid XML (Key attribute fixed) The error Key attribute can only be used on an element was caused by pasting the block of XAML over from a WPF

Re: Invalid XML (Key attribute fixed)

2010-07-29 Thread Chris Anderson
Commanding wasn't actually implemented in Silverlight 3, so I'm guessing that's why you're experiencing the behaviour that you are. Silverlight 3 had the ICommand interface, but no controls actually supported it (they didn't have the Command/CommandParameter properties). So you'd expect Expressio