C1ComboBox bug?

October 23, 2008

I built the chart example from the quickstart guide, but I can’t seem to change my combo box selection with the mouse (I can select it with auto-complete, though).  When I swapped in the MS combo box it seems to work fine.  Here’s the chart in action:

Advertisements

Silverlight 2 Combo Box binding sublety!

October 9, 2008

It is vital to bind the ItemsSource before Binding to the SelectedItem!!! Wow, that’s a tough one

This works:

<ComboBox ItemsSource=”{Binding AllCurrencyStrings}” SelectedItem=”{Binding Path=Currency, Mode=TwoWay, Converter={StaticResource ConverterEnumToString}}”/>

this does NOT work:

<ComboBox SelectedItem=”{Binding Path=Currency, Mode=TwoWay, Converter={StaticResource ConverterEnumToString}}” ItemsSource=”{Binding AllCurrencyStrings}” />

I hope someone finds this helpful

-Brant

Binding a combo box to an enum with Silverlight 2

October 8, 2008

Starting with a great example of radio button binding here:

http://www.nablasoft.com/alkampfer/index.php/2008/07/29/binding-combobox-to-enum-in-silverlight/

I added a combo box example (which seemed be missing from the example).

sl2bindenumwithcombozip

 

Here’s the app with both radios and combo boxes:

 

Hope it helps!

XAML PowerTools error revisited

October 7, 2008

Even after a rebuild, I’m getting the following error when trying to generate xaml from a class in an RC0 SilverLight project. 

 

An intermittent fix seems to be to add a WPF project, and generate xaml from one of those classes – but now I’m stuck (the workaround doesn’t work).  

Does anyone know if these add-ins are easy to debug? Karl did publish the source.  At any rate, any feedback is welcome.

Thanks,

Brant

Error in XAML Power Toys

October 6, 2008

Does anyone else get this error when trying to create a xaml form from a class. It’s such a great feature, I’m very sad that it doesn’t work.  In terms of confiuration, I have the newest everything (Vista,.NET 3.5 SP1,  VS2008 SP1, error occurs in both SL2 RC0 and WPF projects).  Thanks for any input you can provide:

 

My first post

October 6, 2008

Here is my first post:

The quick brown fox jumped over the lazy dog.

Hello world!

October 6, 2008

Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging!