Home > DeveloperSection > Forums > Server side code request on button tab in Sencha Touch.
Tanuj Kumar

Total Post:134

Posted on    June-01-2013 2:32 AM

 Sencha Touch Sencha Touch 

 1 Reply(s)
 1219  View(s)
Rate this:
Hi Expert!

I want to call server side line of code on button tap (click) in Sencha Touch 2.2, how to get it?

Thanks in advance. 
Any help appreciated.

Arun Singh

Total Post:68

Posted on    August-14-2013 12:54 AM

You simply use Ajax Request to call the server side code with MVC Web API.
    dataType: 'JSONP',
    url: '/api/',
    params: values,
    method: 'POST',
success: function(response){
    failure : function(response) {

Mark as answered if your problem will resolved. 

Don't want to miss updates? Please click the below button!

Follow MindStick