This question is locked. New answers and comments are not allowed.
Hi,
I'm trying to have a Master/Detail association on a RadGridView, but i'm having problems in getting the detail values when the user expands the row.
The data comes from two tables ( [Artigo].ID == [ArtigoArmazem].ArtigoID) on an ADO.NET Entity Data Model, and i'm using a WCF Data Service ( referenced as a service reference on the client).
I'm filling the first radgridview with
private void BeginRequest()
{
DataServiceQuery<Artigo> query = dbContext.CreateQuery<Artigo>("Artigo");
query.BeginExecute(RequestCompleted, query);
}
private void RequestCompleted(IAsyncResult asyncResult)
{
DataServiceQuery<Artigo> query = asyncResult.AsyncState as DataServiceQuery<Artigo>;
var artigos = query.EndExecute(asyncResult).ToList();
this.radGridView.ItemsSource = artigos;
}
I've read some of your examples but i'm not being able to show the data from the second table on RowDetails when user selects a row.
Can you please help?
Thanks
I'm trying to have a Master/Detail association on a RadGridView, but i'm having problems in getting the detail values when the user expands the row.
The data comes from two tables ( [Artigo].ID == [ArtigoArmazem].ArtigoID) on an ADO.NET Entity Data Model, and i'm using a WCF Data Service ( referenced as a service reference on the client).
I'm filling the first radgridview with
private void BeginRequest()
{
DataServiceQuery<Artigo> query = dbContext.CreateQuery<Artigo>("Artigo");
query.BeginExecute(RequestCompleted, query);
}
private void RequestCompleted(IAsyncResult asyncResult)
{
DataServiceQuery<Artigo> query = asyncResult.AsyncState as DataServiceQuery<Artigo>;
var artigos = query.EndExecute(asyncResult).ToList();
this.radGridView.ItemsSource = artigos;
}
I've read some of your examples but i'm not being able to show the data from the second table on RowDetails when user selects a row.
Can you please help?
Thanks