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

Ajax Response object

3 Answers 20 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jerry
Top achievements
Rank 1
Jerry asked on 16 Feb 2011, 10:07 PM
Hi Telerik team,

I'm having difficulty to access Ajax response object in onDataBound event handler.

Is there any way to access Ajax response object in this event handler function?

function onDataBound(e){
 
//
}

3 Answers, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 17 Feb 2011, 10:15 AM
Hello Jerry,

 
Unfortunately, response of the Ajax request is not available in the onDataBound event. If you need to have access to the response, then you need to make the request manually and bind the grid.

Regards,

Georgi Krustev
the Telerik team
0
Ray
Top achievements
Rank 1
answered on 18 Feb 2011, 01:40 AM
Can you show us a sample code that we can bind the datagrid using javascript?

Thanks in advance.
0
Atanas Korchev
Telerik team
answered on 18 Feb 2011, 08:18 AM
Hi Ray,

 You can check the documentation of the dataBind method of the grid as well as this example.

All the best,
Atanas Korchev
the Telerik team
Tags
Grid
Asked by
Jerry
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Ray
Top achievements
Rank 1
Atanas Korchev
Telerik team
Share this question
or