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

Radgrid Checkbox selected - how to know which ones are selected

1 Answer 45 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Myriam
Top achievements
Rank 1
Myriam asked on 10 Dec 2008, 03:56 PM
Hello
I have a radgrid containing 1 Mastertableview and 2 details tables. In the last detail table, I have

<

telerik:GridClientSelectColumn UniqueName="ClientSelectColumn" />
I also have a button after the radgrid which will allow me to send email to each person in my radgrid who are selected.
When I click on that button, how can I retrieve each selected row to send email to each person.
Thank you very much

 

1 Answer, 1 is accepted

Sort by
0
Myriam
Top achievements
Rank 1
answered on 10 Dec 2008, 04:43 PM
Sorry,
I found the answer
here it is

Private

Sub BtnCourriel_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles BtnCourriel.Click

 

 

For Each item As GridDataItem In RadGrid_offre.SelectedItems

 

 

Dim chkbx As CheckBox = DirectCast(item("ClientSelectColumn").Controls(0), CheckBox)

 

 

Dim strCourriel As String = item("COURRIEL").Text

 

 

'Send courriel

 

 

Next

 

 

End Sub

 

Tags
Grid
Asked by
Myriam
Top achievements
Rank 1
Answers by
Myriam
Top achievements
Rank 1
Share this question
or