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

GridClientSelectColumn

1 Answer 34 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Pardha Saradhi
Top achievements
Rank 1
Pardha Saradhi asked on 11 Oct 2010, 10:12 AM
Hi Telerik Team,

I have been doing the following functinalites when my Telerik Grid client select column is selected,
1)I am reading Id column value and sending some data to db
2)reading id column value and getting data from db

but, those 2 functionalites can not be clubed due to some buisness rules.

so, i am trying to separte that into 2 functinalites.
1)when i click on GridClientSelectcolumn, i want to read Id column value without any postback
2)If i click on GridRow i want to get data from db

but, if i make 'AutoPostBack' property of grid false,then i am able to read Idcolumn value and able to complete 1st task using ClientDataKeys,but i am unable to getdata from db for 2nd task since that post back was false.

so can you please advice me any solutions, which i can make 2 operations with 2 events by selecting GridClientSelectColumn.

So, I want to make grid postaback false and if i click on GridClientSelect column then i want to read db value and if i click on row then i want to get some data from db.

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 1
answered on 11 Oct 2010, 10:32 AM
Hello,

One suggestion is setting the EnablePostBackOnRowClick property to False and performing postback from grid client "OnRowClick" and getting the db value.

The KB Article shows how to perform postback on grid events.


-Shinu.
Tags
Grid
Asked by
Pardha Saradhi
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 1
Share this question
or