Click here to Skip to main content
15,890,123 members
Home / Discussions / WPF
   

WPF

 
QuestionIs it possible to add silverlight popup in asp.net code Pin
xodeblack13-Feb-10 4:03
xodeblack13-Feb-10 4:03 
AnswerRe: Is it possible to add silverlight popup in asp.net code Pin
Abhinav S13-Feb-10 7:56
Abhinav S13-Feb-10 7:56 
AnswerRe: Is it possible to add silverlight popup in asp.net code Pin
Kunal Chowdhury «IN»15-Feb-10 20:15
professionalKunal Chowdhury «IN»15-Feb-10 20:15 
GeneralRe: Is it possible to add silverlight popup in asp.net code Pin
xodeblack16-Feb-10 10:46
xodeblack16-Feb-10 10:46 
QuestionProblem in Pausing a Storyboard in WPF ? Pin
Mohammad Dayyan13-Feb-10 1:21
Mohammad Dayyan13-Feb-10 1:21 
AnswerRe: Problem in Pausing a Storyboard in WPF ? Pin
BlitzPackage15-Feb-10 4:33
BlitzPackage15-Feb-10 4:33 
GeneralRe: Problem in Pausing a Storyboard in WPF ? Pin
Mohammad Dayyan15-Feb-10 5:05
Mohammad Dayyan15-Feb-10 5:05 
QuestionButton not firing in WPF Toolkit datagrid Pin
Member 454056412-Feb-10 8:12
Member 454056412-Feb-10 8:12 
I have the following:

      <dg:DataGrid     Visibility="{Binding HideElement,  Converter={StaticResource MyBooleanToVisibilityConverter}}"
                              Grid.Column="1"  Cursor="Hand"
                              Margin="11.5,-21,16,12"
                              Grid.Row="0" IsEnabled="True"
                              AlternationCount="2"
                              Panel.ZIndex="1000"
                              Style="{DynamicResource DataGridStyle}"
                              AutoGenerateColumns="False"
                              SelectedItem="{Binding SelectedPatientDocInfoItem}"
                              ItemsSource="{Binding PatientDocInfoCollection}"
                              x:Name="DocumentSearchResultsDG"
                              BorderThickness="0,0,0,2">


                         <dg:DataGrid.Columns>
                             <dg:DataGridTextColumn Binding="{Binding DocumentName}"  IsReadOnly="True" Width=".5*" Header="Doc Name"  />

                             <dg:DataGridTemplateColumn IsReadOnly="False"     Width=".5*"  Header="Delete"  Selector.IsSelected="True"    >
                                 <dg:DataGridTemplateColumn.CellTemplate >
                                     <DataTemplate >
                                         <Button Command="{Binding DeleteItem, ElementName=DocumentSearchResultsDG}" Panel.ZIndex="7000"     Width="45.9"  Height="22"      >
                                             <Image Source="..\img\delete16.png"   />
                                         </Button>
                                     </DataTemplate>
                                 </dg:DataGridTemplateColumn.CellTemplate>
                                 </dg:DataGridTemplateColumn>
                         </dg:DataGrid.Columns>
                     </dg:DataGrid>
                 </Grid>


DeleteItem = new DelegateCommand<object>(obj =>
         {
           PatientDocumentRepository.Delete(PatientDocument);
           PatientDocInfoCollection = new ObservableCollection<PatientDocInfo>();
           PatientDocumentCollection.Foreach(x => PatientDocInfoCollection.Add(x));
         });


I am following the MVVM pattern so I am trying to delete a row using the button in the DGTemplateColumn but the command is not firing when I click on the button. How do I fire the button without selecting the entire row?
AnswerRe: Button not firing in WPF Toolkit datagrid Pin
AspDotNetDev12-Feb-10 20:41
protectorAspDotNetDev12-Feb-10 20:41 
GeneralRe: Button not firing in WPF Toolkit datagrid Pin
Hannes Larsson17-Feb-10 20:36
Hannes Larsson17-Feb-10 20:36 
GeneralRe: Button not firing in WPF Toolkit datagrid Pin
AspDotNetDev17-Feb-10 21:42
protectorAspDotNetDev17-Feb-10 21:42 
GeneralRe: Button not firing in WPF Toolkit datagrid Pin
Hannes Larsson17-Feb-10 21:53
Hannes Larsson17-Feb-10 21:53 
GeneralRe: Button not firing in WPF Toolkit datagrid Pin
AspDotNetDev17-Feb-10 22:03
protectorAspDotNetDev17-Feb-10 22:03 
GeneralRe: Button not firing in WPF Toolkit datagrid [modified] Pin
Hannes Larsson17-Feb-10 23:03
Hannes Larsson17-Feb-10 23:03 
GeneralRe: Button not firing in WPF Toolkit datagrid Pin
AspDotNetDev17-Feb-10 23:13
protectorAspDotNetDev17-Feb-10 23:13 
GeneralRe: Button not firing in WPF Toolkit datagrid Pin
Hannes Larsson17-Feb-10 23:15
Hannes Larsson17-Feb-10 23:15 
GeneralRe: Button not firing in WPF Toolkit datagrid Pin
AspDotNetDev17-Feb-10 23:42
protectorAspDotNetDev17-Feb-10 23:42 
GeneralRe: Button not firing in WPF Toolkit datagrid Pin
AspDotNetDev18-Feb-10 0:02
protectorAspDotNetDev18-Feb-10 0:02 
GeneralRe: Button not firing in WPF Toolkit datagrid Pin
Hannes Larsson18-Feb-10 1:39
Hannes Larsson18-Feb-10 1:39 
GeneralRe: Button not firing in WPF Toolkit datagrid Pin
Member 454056418-Feb-10 10:10
Member 454056418-Feb-10 10:10 
QuestionSharing Core Objects Between Server & Client Pin
Jammer12-Feb-10 7:57
Jammer12-Feb-10 7:57 
AnswerRe: Sharing Core Objects Between Server & Client Pin
Pete O'Hanlon12-Feb-10 9:33
mvePete O'Hanlon12-Feb-10 9:33 
GeneralRe: Sharing Core Objects Between Server & Client Pin
Jammer13-Feb-10 12:51
Jammer13-Feb-10 12:51 
QuestionPopup window in silverlight Pin
xodeblack12-Feb-10 6:01
xodeblack12-Feb-10 6:01 
AnswerRe: Popup window in silverlight Pin
Abhinav S12-Feb-10 8:10
Abhinav S12-Feb-10 8:10 

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.