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

[Solved] Get the selected row data using GridViewSelectColumn

1 Answer 351 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.
Akila
Top achievements
Rank 1
Akila asked on 15 Dec 2010, 03:34 PM
Hi,
I have used the GridViewSelectColumn in my Gridview.When i select the row uisng the check box i want to get the selected rows information.
For ex:  i am having empname,empdept columns. When i select the row using the checkbox i want to get the empid of that selected row.If i select using selectall checkbox i want to get the empids of all the selected rows. Also how to bind the checkbox column with data.
How to do this.Can u please share me the code.I know how to do this asp.net gridview.Expecting your quick reply.

Thanks & Regards,
J.Akila.

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 15 Dec 2010, 03:42 PM
Hello,

 You can use SelectedItem and SelectedItems to achieve your goal. Just cast it to your object type and access any property. You can check also our selection demo for more info. 

Best wishes,
Vlad
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
Tags
GridView
Asked by
Akila
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or