ComboBox does not support Text Contenet

This post has 1 reply

Not Ranked
Posts: 2
ramm27 Posted: Wed Aug 19, 2009 @ 10:45 AM
Hi

i create new silverlight project using vs2008,
I have added below code in MainPAge.xaml file,


x:Name="MyComboBox" >







also i have added below code in mainpage.xaml.cs:
private void MyComboBox_SelectionFinalized(object sender,
ComponentArt.Silverlight.UI.Input.ComboBoxEventArgs cbea)
{

}

When i build it, it compiles it without any errors.

But when i run it, it gives below error message,
"Unhandled Error, Combobox does not support text content. at System.Windows.Application.LoadComponenet(Object Componenet,uri resourceLocator) at SilverLightApplicatin9.MainPAge.InitializeComponent()

Pleae let me know
Not Ranked
Posts: 2
ramm27 Posted: Wed Aug 19, 2009 @ 11:05 AM
Actually, by mistake extra line
x:Name="MyComboBox" > got added after the line , due to this it was causing error message.
Page 1 of 1 (2 items)