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

datasource > transport > create or update - get responses from server

1 Answer 135 Views
Data Source
This is a migrated thread and some comments may be shown as answers.
Lee
Top achievements
Rank 1
Lee asked on 16 May 2012, 05:16 PM
When an update or a create is executed via the transport object, how do I get the HTML response from the server? 

update  URL:

var url = "/support/markasread/" + support_id + "/";

and this will respond with 0 or 1

create URL:

var url = "/support/newticketpost/";
 
this will respond with an ID of the newly create dticket.

How do I get this response HTML?

1 Answer, 1 is accepted

Sort by
0
Lee
Top achievements
Rank 1
answered on 17 May 2012, 11:11 AM

I'm not sure if the query is clear enough, perhaps this is why I am getting no reply..

What I am wanting is something like the jQuery .ajax() success().  Kendo has an error event handler but not success event handler from what I can see. 

Does anyone know of how this is dealt with?
Tags
Data Source
Asked by
Lee
Top achievements
Rank 1
Answers by
Lee
Top achievements
Rank 1
Share this question
or