Click here to Skip to main content
15,896,912 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Using ListViewItem in WPF ? Pin
Mohammad Dayyan1-Jan-10 6:08
Mohammad Dayyan1-Jan-10 6:08 
QuestionGetting click location Pin
Jeroen De Dauw30-Dec-09 5:44
Jeroen De Dauw30-Dec-09 5:44 
AnswerRe: Getting click location Pin
ProtoBytes30-Dec-09 6:47
ProtoBytes30-Dec-09 6:47 
AnswerRe: Getting click location Pin
Mark Salsbery30-Dec-09 7:18
Mark Salsbery30-Dec-09 7:18 
AnswerRe: Getting click location Pin
Jeroen De Dauw30-Dec-09 9:37
Jeroen De Dauw30-Dec-09 9:37 
AnswerRe: Getting click location Pin
Jeroen De Dauw30-Dec-09 12:00
Jeroen De Dauw30-Dec-09 12:00 
GeneralRe: Getting click location Pin
Jeroen De Dauw31-Dec-09 7:52
Jeroen De Dauw31-Dec-09 7:52 
QuestionSilverlight ComboBox Binding Issue [modified] Pin
Programm3r30-Dec-09 2:18
Programm3r30-Dec-09 2:18 
Hi all,

I am making use of a DataForm to display my data. I have made use of the DataForm edit template to customize the layout of the form. Data is returned and is being displayed within the DataForm. The problem is that, as soon as I start navigating (2 navigation clicks) with the DataFrom, only the ComboBox 'looses' it's binding on the SelectedItem (although it's selected item was data bound and then it just goes blank Confused | :confused: ).

The back end code consists of a generic list List<string> and a string variable that has the value of each data item that is returned.

..
public List<string> Category { get; set; }
public string CategoryName { get; set; }
..


The XAML code:
...
<dataFormToolkit:DataField DescriptionViewerPosition="Auto" LabelPosition="Left" LabelVisibility="Visible" Label="Category">
    <ComboBox ItemsSource="{Binding Category}"  SelectedItem="{Binding CategoryName, Mode=TwoWay}" />
</dataFormToolkit:DataField>
...


Any reason why this is happening and how I can fix it?
Many thanks in advance.
Kind regards


The only programmers that are better C# programmers, are those who look like this -> Green Alien | [Alien]



Java | [Coffee] Programm3r

My Blog: ^_^

modified on Wednesday, December 30, 2009 8:36 AM

AnswerRe: Silverlight ComboBox Binding Issue Pin
MikeGoatly3-Sep-10 5:14
MikeGoatly3-Sep-10 5:14 
QuestionWndProc equivalent in WPF? Pin
pbalaga29-Dec-09 10:41
pbalaga29-Dec-09 10:41 
GeneralRe: WndProc equivalent in WPF? Pin
ProtoBytes29-Dec-09 11:23
ProtoBytes29-Dec-09 11:23 
AnswerRe: WndProc equivalent in WPF? Pin
teejayem29-Dec-09 12:20
teejayem29-Dec-09 12:20 
GeneralRe: WndProc equivalent in WPF? Pin
pbalaga29-Dec-09 23:12
pbalaga29-Dec-09 23:12 
Questionwhy Scrollviewer clip content in wpf Pin
wasimsharp28-Dec-09 23:08
wasimsharp28-Dec-09 23:08 
AnswerRe: why Scrollviewer clip content in wpf Pin
Mark Salsbery29-Dec-09 10:26
Mark Salsbery29-Dec-09 10:26 
QuestionDo you know any ListViewItem samples in WPF? Pin
Mohammad Dayyan28-Dec-09 16:48
Mohammad Dayyan28-Dec-09 16:48 
AnswerRe: Do you know any ListViewItem samples in WPF? Pin
ProtoBytes29-Dec-09 9:32
ProtoBytes29-Dec-09 9:32 
GeneralRe: Do you know any ListViewItem samples in WPF? Pin
Mohammad Dayyan29-Dec-09 22:50
Mohammad Dayyan29-Dec-09 22:50 
Questionlogin authentication in silverlight 3 Pin
pcmedia28-Dec-09 16:05
pcmedia28-Dec-09 16:05 
AnswerRe: login authentication in silverlight 3 Pin
Abhinav S28-Dec-09 16:28
Abhinav S28-Dec-09 16:28 
QuestionData class implementations not fully passed to Silverlight? Pin
Michael Eber28-Dec-09 11:56
Michael Eber28-Dec-09 11:56 
AnswerRe: Data class implementations not fully passed to Silverlight? Pin
Abhinav S28-Dec-09 16:42
Abhinav S28-Dec-09 16:42 
GeneralRe: Data class implementations not fully passed to Silverlight? Pin
Michael Eber30-Dec-09 11:28
Michael Eber30-Dec-09 11:28 
Questiongrid in 3D Environment Pin
sajib_bd26-Dec-09 20:03
sajib_bd26-Dec-09 20:03 
AnswerRe: grid in 3D Environment Pin
ProtoBytes28-Dec-09 12:06
ProtoBytes28-Dec-09 12:06 

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.