Tech Off Thread

3 posts

Forum Read Only

This forum has been made read only by the site admins. No new threads or comments can be added.

Question in Windows Phone ToolKit: MultiselectItem with WCF

Back to Forum: Tech Off
  • User profile image


    I have a question around MultiselectItem control for the Windows Phone Toolkit, I have exposed a SQL server 2008 R2 throw WCF and I want to bind this information to the MultiselectItem control. What I did so far is this:-


    <toolkit:MultiselectList Name="multiSelectionList">



             <toolkit:MultiselectItem Content="{Binding Name}" />





    So far nothing is showing when I am trying to test it using the Windows Phone emulator, by which it I assume something wrong with the xaml code (I did test the WCF service and it is working).

     Please advise me, thanks.

  • User profile image

    I'm not familiar with that control, but don't you need to bind to the ItemsSource property of the list?

    <toolkit:MultiselectList ItemsSource="{Binding myList}">

  • User profile image

    @whiteBox85: the multiselect list is an items control, and you bind to it as spivonious has mentioned. If you need to so this in code, there is an example here

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.