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

How to get current Datasource from RadGridview after Shorting?

7 Answers 68 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Vidhya
Top achievements
Rank 1
Vidhya asked on 15 Apr 2011, 08:23 AM
Hi.........

For me one doubt...

we are assigning one datatable to Grid,in that table 10 rows are there...

after filtering grid shows 5 rows...

now i want to get that 5 rows alone from grid.

how i can get this?

7 Answers, 1 is accepted

Sort by
0
Accepted
Richard Slade
Top achievements
Rank 2
answered on 15 Apr 2011, 09:15 AM
Hello,

To do this you can itterate over the ChildRows collection.
foreach (GridViewRowInfo row in this.radGridView1.ChildRows)
{ }

Hope that helps but let me know if you need more information
Richard
0
Vidhya
Top achievements
Rank 1
answered on 15 Apr 2011, 10:42 AM
Hi...

thank you for reply...

but for me there is no property called childrows(radGridView1.ChildRows) for radgridview.

anyother way is there?
0
Richard Slade
Top achievements
Rank 2
answered on 15 Apr 2011, 10:43 AM
Hello,

Which version of the RadControls are you currently using?
Richard
0
Jack
Telerik team
answered on 15 Apr 2011, 11:27 AM
Hi Vidhya, the ChildRows collection is introduced in Q2 2010. We recommend that you try our latest release - Q1 2011 which contains new controls and many improvements.
 
Regards,
Jack
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
0
Vidhya
Top achievements
Rank 1
answered on 15 Apr 2011, 12:01 PM
yes i am using old version Q2 2009 sp1
0
Accepted
Richard Slade
Top achievements
Rank 2
answered on 15 Apr 2011, 12:06 PM
Hello,

Just to echo what Jack has said, and from a customer of Telerik perspective, I'd also advise upgrading to the latest version of the RadControls. Not only will you get a huge range of enhancements and fixes, but there are also some slick new controls and performance enhancements. In addition, Telerik do not support products that are more than a year old, so you will be able to get all the support you need after you update.

Regards,
Richard
0
Vidhya
Top achievements
Rank 1
answered on 15 Apr 2011, 12:11 PM
ya ok ...

thank you...
Tags
GridView
Asked by
Vidhya
Top achievements
Rank 1
Answers by
Richard Slade
Top achievements
Rank 2
Vidhya
Top achievements
Rank 1
Jack
Telerik team
Share this question
or