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

[Solved] Rad grid view selection changed event changes all rows

4 Answers 169 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
soms
Top achievements
Rank 1
soms asked on 12 Jan 2011, 11:20 AM
Iam developing childRadgridview  using webservices backend crm
but when im selection changed event all rows getting the latest child grid data only

4 Answers, 1 is accepted

Sort by
0
Milan
Telerik team
answered on 12 Jan 2011, 11:28 AM

Hi soms,

I am afraid that I could not understand what the problem is. Could you please elaborate on this issue?  What are your expectation about the SelectionChanged event?



All the best,
Milan
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
0
soms
Top achievements
Rank 1
answered on 12 Jan 2011, 11:48 AM
In my application, when  i am clicked the '+' of a Radgrid control the child grid will get the data from microsoft dynamics crm entity as per the parent grid guid id.
actually this is works perfectly , but when i am changing 2nd row +  rad grid conrol, the first row childgrid data also changing as 2nd row child grid


iam sending some of my screen shots also...
plz help me
0
anwar
Top achievements
Rank 1
answered on 12 Jan 2011, 11:50 AM
    data is same in child control i think...i.e same data in parent grid and child grid in all rows
0
Veselin Vasilev
Telerik team
answered on 12 Jan 2011, 02:08 PM
Hello soms,

This could happen if you for example bound the child grids to one instance of a domain datasource.
Since you can have several expanded parent rows and a single instance of the domain datasource - the same data is shown in all child grids.
You need to fill the child gridviews in code behind by invoking your service methods manually.
Here is a sample project (check the RowDetailsVisibilityChanged event handler)


Best wishes,
Veselin Vasilev
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Tags
GridView
Asked by
soms
Top achievements
Rank 1
Answers by
Milan
Telerik team
soms
Top achievements
Rank 1
anwar
Top achievements
Rank 1
Veselin Vasilev
Telerik team
Share this question
or