This question is locked. New answers and comments are not allowed.
I'm having a hard time seeing where I am going wrong with this. I have a column that I want to have different modes when editing a cell so I created a custom TemplateSelector and Assigned it to the GridViewDataColumn. when I run this no matter what I do I can't seem to get it to enter edit mode, here is what I currently have. if I take the celleditotemplateselector off it works fine but when I try and break into the celledittemplateseloctor its as if it isn't even creating it.
any help is always appreciated
<Controls:GridViewDataColumn x:Name="_editValsColumn" Header="Unit Price" DataMemberBinding="{Binding UnitPrice}" EditTriggers="CellClick" > <Controls:GridViewDataColumn.CellEditTemplateSelector> <EWD2:RemoveReplaceTemplateSelector> <EWD2:RemoveReplaceTemplateSelector.RemoveOnlyTemplate> <DataTemplate> <TextBox Text="{Binding RemovePrice,StringFormat=\{0:c\}}" /> </DataTemplate> </EWD2:RemoveReplaceTemplateSelector.RemoveOnlyTemplate> <EWD2:RemoveReplaceTemplateSelector.ReplaceOnlyTemplate> <DataTemplate> <TextBox Text="{Binding ReplacePrice,StringFormat=\{0:c\}}" /> </DataTemplate> </EWD2:RemoveReplaceTemplateSelector.ReplaceOnlyTemplate> <EWD2:RemoveReplaceTemplateSelector.RemoveReplaceTemplate> <DataTemplate> <StackPanel Orientation="Horizontal" > <UI:LabeledControl x:Name="_removeLabel" Label="Remove : "> <TextBox Text="{Binding RemovePrice,StringFormat=\{0:c\}}" /> </UI:LabeledControl> <UI:LabeledControl x:Name="_replaceLabel" Label="Replace :"> <TextBox Text="{Binding ReplacePrice,StringFormat=\{0:c\}}" /> </UI:LabeledControl> </StackPanel> </DataTemplate> </EWD2:RemoveReplaceTemplateSelector.RemoveReplaceTemplate> </EWD2:RemoveReplaceTemplateSelector> </Controls:GridViewDataColumn.CellEditTemplateSelector> </Controls:GridViewDataColumn>any help is always appreciated
