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

Using SelectedIndexChanged to update second grid

1 Answer 51 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Joel
Top achievements
Rank 2
Joel asked on 15 Dec 2009, 04:16 PM
I am working with the web mail demo and removing the LINQ references and trying to work within the confines of the code behind.

I have the treeview on the left updating the grid in the top right (radgrid1) properly.  When I click on a gridrow in the top right (radgrid1), I want to display detail text in the bottom right pane (radgrid2).  I don't care what control displays it, It will just be text.

I thought selectedindexchanged on radgrid1 would get me there but it appears to be a page lifecycle issue perhaps?  I have confirmed this event is firing.
    Protected Sub RadGrid1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles RadGrid1.SelectedIndexChanged 
        RadGrid2.Rebind() 
    End Sub 


Any ideas?

1 Answer, 1 is accepted

Sort by
0
Joel
Top achievements
Rank 2
answered on 15 Dec 2009, 06:38 PM
Never mind, this is now resolved.
Tags
Grid
Asked by
Joel
Top achievements
Rank 2
Answers by
Joel
Top achievements
Rank 2
Share this question
or