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

No event fired on OnSelectedIndexChanged

2 Answers 92 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Sean
Top achievements
Rank 1
Sean asked on 19 Jan 2009, 12:21 PM
Hi,

I need a C# server side event to be fired when a row is selected within a Grid.
I am using "OnSelectedIndexChanged="ucRadGrid_SelectedIndexChanged"" , however no event is actually fired.
I have tried adding "<ClientSettings><Selecting AllowRowSelect="true" /></ClientSettings> ", but this also appears to make no difference as no event is fired.

Any help would be much appreciated.

Sean Duffy.

2 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 19 Jan 2009, 12:27 PM
Hi Sean,

Try setting EnablePostBackOnRowClick to true in the ClientSettings to true and see whether the SelectedIndexChanged event is getting fired on clicking a row.

ASPX:
<ClientSettings EnablePostBackOnRowClick="true" > 
                </ClientSettings> 



Regards
Princy
0
Sean
Top achievements
Rank 1
answered on 19 Jan 2009, 12:29 PM
Great stuff, thanks.
Tags
Grid
Asked by
Sean
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Sean
Top achievements
Rank 1
Share this question
or