Welcome to the Xceed Community | Help
Community Search  
More Search Options

DataGridCollectionViewSource.DetailDescriptions is not support ADO EF data source

Sort Posts: Previous Next
  •  04-28-2012, 9:53 AM Post no. 32039

    DataGridCollectionViewSource.DetailDescriptions is not support ADO EF data source

    DataGridCollectionViewSource.DetailDescriptions is not support ADO EF data source?when i use ADO EF source for DataGridCollectionViewSource source,then display flow message:

    "An attempt was made to initialize a DataRelationDetailDescription whose data source is not a DataView."

     

    this is my defines:

    <xcdg:DataGridCollectionViewSource.DetailDescriptions>
                        <xcdg:DataRelationDetailDescription RelationName="WMS_D_GoodsInAdviseLines"  AutoCreateDetailDescriptions="True" AutoCreateForeignKeyDescriptions="True" AutoCreateItemProperties="True" >
                               <xcdg:DataRelationDetailDescription.StatFunctions>
                            <xcdg:SumFunction ResultPropertyName="SumOfNotifiedAmount"
                                     SourcePropertyName="NotifiedAmount" />
                                </xcdg:DataRelationDetailDescription.StatFunctions>
                            </xcdg:DataRelationDetailDescription>
                    </xcdg:DataGridCollectionViewSource.DetailDescriptions>

  •  04-28-2012, 9:57 AM Post no. 32040 in reply to 32039

    Re: DataGridCollectionViewSource.DetailDescriptions is not support ADO EF data source

    this is my data source binding by codebhind:

    newEntities = new TESTEntities(strCon);

    DataGridCollectionViewSource dataGridCollectionViewSource = resDictionary["DataGridCollectionViewSource"] as DataGridCollectionViewSource;

    dataGridCollectionViewSource.Source = newEntities.WMS_D_GoodsInAdvises;

    gridCtrl.ItemsSource = dataGridCollectionViewSource.view;

  •  04-28-2012, 10:04 AM Post no. 32041 in reply to 32040

    Re: DataGridCollectionViewSource.DetailDescriptions is not support ADO EF data source

    Please help me,how can I use DataGridCollectionViewSource.DetailDescriptions implement statFunc with ADO EF?thanks!
  •  04-28-2012, 10:55 AM Post no. 32042 in reply to 32041

    Re: DataGridCollectionViewSource.DetailDescriptions is not support ADO EF data source

    anybody help me~
  •  04-28-2012, 11:46 PM Post no. 32050 in reply to 32042

    Re: DataGridCollectionViewSource.DetailDescriptions is not support ADO EF data source

    DataGridCollectionViewSource.DetailDescriptions for Master/Detail is not support ADO EF??
  •  04-29-2012, 9:57 AM Post no. 32052 in reply to 32050

    Re: DataGridCollectionViewSource.DetailDescriptions is not support ADO EF data source

        <basTable:FLUXXceedDataGridControl x:Name="gridCtrl">

    ......   

         <xcdg:DataGridControl.DetailConfigurations>

    ......
                <xcdg:DetailConfiguration RelationName="WMS_D_GoodsInAdviseLines"

    <xcdg:DetailConfiguration.Footers>
                            <DataTemplate>
                                <StackPanel  Orientation="Vertical">
                                <TextBlock Text="Total:"/>
                                <xcdg:StatRow>
                                    <xcdg:StatCell FieldName="NotifiedAmount"
                                                   ResultPropertyName="SumOfNotifiedAmount"/>
                                </xcdg:StatRow>
                                </StackPanel>
                            </DataTemplate>
                    </xcdg:DetailConfiguration.Footers>

                </xcdg:DetailConfiguration>
               
            </xcdg:DataGridControl.DetailConfigurations>

  •  04-29-2012, 11:58 AM Post no. 32053 in reply to 32052

    Re: DataGridCollectionViewSource.DetailDescriptions is not support ADO EF data source

    Is there anorther way to use statFaunc in detail table with ado ef?

  •  04-30-2012, 10:22 PM Post no. 32061 in reply to 32053

    Re: DataGridCollectionViewSource.DetailDescriptions is not support ADO EF data source

    ?
View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2011 Xceed Software Inc.