Click here to Skip to main content
15,887,027 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Listview binding is not working with page class Pin
laprathab7-Jul-09 23:11
laprathab7-Jul-09 23:11 
GeneralRe: Listview binding is not working with page class Pin
User 2710097-Jul-09 23:17
User 2710097-Jul-09 23:17 
GeneralRe: Listview binding is not working with page class Pin
laprathab7-Jul-09 23:32
laprathab7-Jul-09 23:32 
GeneralRe: Listview binding is not working with page class Pin
User 2710097-Jul-09 23:37
User 2710097-Jul-09 23:37 
GeneralRe: Listview binding is not working with page class Pin
laprathab7-Jul-09 23:47
laprathab7-Jul-09 23:47 
GeneralRe: Listview binding is not working with page class Pin
User 2710097-Jul-09 23:51
User 2710097-Jul-09 23:51 
GeneralRe: Listview binding is not working with page class Pin
laprathab7-Jul-09 23:55
laprathab7-Jul-09 23:55 
GeneralRe: Listview binding is not working with page class Pin
User 2710098-Jul-09 0:05
User 2710098-Jul-09 0:05 
I looked at your code again, the ComboBox can't see the Page DataContext.

There are many ways around this issue.

Two simple solutions are;

1. Binding the ItemsSource in code.

2. Add a CollectionViewSource to the Page.Resources section, then bind the ComboBox to the CollectionViewSource. Assign the soure of the CollectionViewSource to your AvailablePublishers. If you use this solution you must set the ComboBox property, IsSynchronizedWithCurrentItem to False since you are binding two ComboBoxes to the same source.

Cheers, Karl

» CodeProject 2008 MVP, CodeProject 2009 MVP

My Blog | Mole's Home Page |
XAML Power Toys Home Page

Just a grain of sand on the worlds beaches.



modified 27-Feb-21 21:01pm.

GeneralRe: Listview binding is not working with page class Pin
laprathab8-Jul-09 0:24
laprathab8-Jul-09 0:24 
QuestionHow to use xamDataGrid in VS2005/VS2008 Pin
jgotlt7-Jul-09 20:14
jgotlt7-Jul-09 20:14 
AnswerRe: How to use xamDataGrid in VS2005/VS2008 Pin
User 2710097-Jul-09 21:40
User 2710097-Jul-09 21:40 
GeneralRe: How to use xamDataGrid in VS2005/VS2008 Pin
Pete O'Hanlon7-Jul-09 22:00
mvePete O'Hanlon7-Jul-09 22:00 
QuestionElementFlow Intergration - FluidKit Pin
lxmyers7-Jul-09 14:33
lxmyers7-Jul-09 14:33 
QuestionEntity translator Pin
Member 35268517-Jul-09 1:28
Member 35268517-Jul-09 1:28 
AnswerRe: Entity translator Pin
Pete O'Hanlon7-Jul-09 1:36
mvePete O'Hanlon7-Jul-09 1:36 
QuestionHow To Host Silver Light User Controls to asp.net Page Contaning webParts Pin
Member 47046757-Jul-09 1:06
Member 47046757-Jul-09 1:06 
AnswerRe: How To Host Silver Light User Controls to asp.net Page Contaning webParts Pin
Not Active7-Jul-09 2:32
mentorNot Active7-Jul-09 2:32 
Questionzoom in WPF- can it wor on a grid as well? Pin
TGiril6-Jul-09 22:44
TGiril6-Jul-09 22:44 
AnswerRe: zoom in WPF- can it wor on a grid as well? Pin
Christian Graus7-Jul-09 1:11
protectorChristian Graus7-Jul-09 1:11 
AnswerRe: zoom in WPF- can it wor on a grid as well? Pin
Pete O'Hanlon7-Jul-09 2:25
mvePete O'Hanlon7-Jul-09 2:25 
QuestionExplorer Control Pin
#realJSOP6-Jul-09 2:33
mve#realJSOP6-Jul-09 2:33 
AnswerRe: Explorer Control Pin
Pete O'Hanlon6-Jul-09 3:21
mvePete O'Hanlon6-Jul-09 3:21 
GeneralRe: Explorer Control Pin
#realJSOP6-Jul-09 5:26
mve#realJSOP6-Jul-09 5:26 
QuestionFull Screen problem with Media Element Pin
pavanip6-Jul-09 1:32
pavanip6-Jul-09 1:32 
AnswerRe: Full Screen problem with Media Element Pin
Viral Upadhyay6-Jul-09 2:33
Viral Upadhyay6-Jul-09 2:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.