Click here to Skip to main content
15,913,610 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Everyone,

I have a combo box which i have bind the items reading from the database. now i have added the style to the combo box by doing the following;
(right click combo box ->Edit Template -> Edit Copy and i have applied to the combo box.)

this was my default text in my combo box
my default text on the combo box was (--Please Select Company Name--)

After that my default text doesn't appear anymore and it is showing the name of the project inside the combo box and my name of the project is this one;
<page windowtitle="Registrations" x:class="UserInfor_Enrollment.Registrations" xmlns:x="#unknown">

Please help on how can i solve this. I tried to remove it and i got this error below
Error 1 'Page' root element requires a x:Class attribute to support event handlers in the XAML file. Either remove the event handler for the Unloaded event, or add a x:Class attribute to the root element. Line 9

Thanks.
Posted
Comments
Ajith Alex M 7-Nov-14 12:59pm    
can you please paste the xaml code here..?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900