I have list picker in my windows phone 7 app & it works fine but whenever i try to add more options in it... it crashes i can add upto 4 or 5 options only in this list picker is there anything i can do aboout it
My working code is
xaml code
<toolkit:ListPicker x:Name="ListPicker" Margin="12,3,12,12" Foreground="#FF00C000" >
<toolkit:ListPicker.Items>
<toolkit:ListPickerItem Content="Item1"/>
<toolkit:ListPickerItem Content="Item2"/>
</toolkit:ListPicker.Items>
</toolkit:ListPicker>
& .cs code
string ListPickerOperator = (this.ListPicker.SelectedItem as ListPickerItem).Content as string;
switch (ListPickerOperator )
{
case "Item1":
break;
case "Item2":
break;
}
but whenever i try to make this list bigger it crashes after 4 5 items