This is a migrated thread and some comments may be shown as answers.

RadGridView in a UserControl in a navigation:Page

1 Answer 36 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Louis Bouchard
Top achievements
Rank 1
Louis Bouchard asked on 01 Aug 2010, 11:22 PM

Hello there,

I got a RadGridView in a UserControl embedded in a navigation:Page.

In my navigation:page I have a DomainDataSource.  So, can you tell me how I can bind my RadGridView to my DomainDataSource?

 

My DomainDataSource in my navigation:page (parent) :

============================================
<riaControls:DomainDataSource x:Name="descriptionsdomainDataSource"  QueryName="Getdescriptions"    LoadSize="200" AutoLoad="True">
                <riaControls:DomainDataSource.DomainContext>
                    <contextedomaine:descriptionsContext  />
                </riaControls:DomainDataSource.DomainContext>
            </riaControls:DomainDataSource>

...
<Grid x:Name="LayoutRoot">
<myform:descriptionForm></myform:descriptionForm>
</Grid>

My RadGridView in my UserControl (child) :
===================================

<supertelerik:RadGridView  x:Name="DataFormA"  ItemsSource= "{Binding Data, ElementName=??????????}" ...

 

Probably it's a question about Parent/Children but how I can do this relation?  Thank you for any help

1 Answer, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 05 Aug 2010, 07:57 AM
Hello Louis Bouchard,

 
You may use as a reference one of the proposed solutions in those forum  threads:

  1. Binding ItemsSource to DomainDataSource
  2. Share DomainDataSource between pages


Kind regards,
Maya
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
Louis Bouchard
Top achievements
Rank 1
Answers by
Maya
Telerik team
Share this question
or