How to display default text "--Select Team --" in combo box on pageload in WPF?

Posted by Aditya on Stack Overflow See other posts from Stack Overflow or by Aditya
Published on 2009-09-15T09:08:25Z Indexed on 2010/04/03 1:13 UTC
Read the original article Hit count: 317

Filed under:
|

Hi,

In a WPF app, in MVP app

I have a combo box,for which I display the data fetched from Database. Before the items added to the Combo box, I want to display the default text such as " -- Select Team --" , so that on pageload it displays and on selecting it the text should be cleared and the items should be displayed.

Selecting data from DB is happening. I need to display the default text until the user selects an item from combo box.

Please guide me

Thanks

Ramm

© Stack Overflow or respective owner

Related posts about combobox

Related posts about wpf