This question is locked. New answers and comments are not allowed.
Hi,
i have been trying to do a ajax call to a service that i have create using .net, but i was not able to get back any data
i am trying to retrieve a json data from my service.
i have tried using phonegap it worked perfectly as phonegap has a config file on which you can set the whitelest
can anyone help me to do the same using icenium
i have been trying to do a ajax call to a service that i have create using .net, but i was not able to get back any data
i am trying to retrieve a json data from my service.
i have tried using phonegap it worked perfectly as phonegap has a config file on which you can set the whitelest
can anyone help me to do the same using icenium
5 Answers, 1 is accepted
0
Keen
Top achievements
Rank 1
answered on 15 Aug 2013, 02:44 AM
Hi Mohamat,
I encountered that kind of problem in the apps I developed. I think you must consider to cross domain in your webservice.
Regards,
Keen
I encountered that kind of problem in the apps I developed. I think you must consider to cross domain in your webservice.
Regards,
Keen
0
Mohamat
Top achievements
Rank 1
answered on 15 Aug 2013, 05:10 AM
Hi Thank you Keen
But any tips on how can i do that, i mean can you post any code sample from your web service projects that will allow you to call ajax cross domain
Thankx
But any tips on how can i do that, i mean can you post any code sample from your web service projects that will allow you to call ajax cross domain
Thankx
0
Hello Mohamat,
If you're using Icenium Mist then you're running your app in the browser and therefore you're subject to CORS (Cross-origin resource sharing) limitation. This matter has been discussed in this forum thread, so review it to get better understanding on your options how to proceed.
Regards,
Steve
Telerik
Do you enjoy Icenium? Vote for it as your favorite new product here (use short code H048S).
Looking for tips & tricks directly from the Icenium team? Check out our blog!
Share feedback and vote for features on our Feedback Portal.
If you're using Icenium Mist then you're running your app in the browser and therefore you're subject to CORS (Cross-origin resource sharing) limitation. This matter has been discussed in this forum thread, so review it to get better understanding on your options how to proceed.
Regards,
Steve
Telerik
Do you enjoy Icenium? Vote for it as your favorite new product here (use short code H048S).
Looking for tips & tricks directly from the Icenium team? Check out our blog!
Share feedback and vote for features on our Feedback Portal.
0
Mohamat
Top achievements
Rank 1
answered on 15 Aug 2013, 02:22 PM
Thank you very much.
i have tested it on the desktop icenium (windows client) and it worked like magic
i have tested it on the desktop icenium (windows client) and it worked like magic
0
Hello Mohamat,
If you're using the in-browser client in Chrome, you can get the Telerik AppBuilder Helper for Chrome which enables Ajax CORS requests for the device simulator to spare you the CORS errors.
You can get it from here. The team plans to bring more improvements in the Helper in the future, so keep an eye on it.
Regards,
Iva Koevska
Telerik
If you're using the in-browser client in Chrome, you can get the Telerik AppBuilder Helper for Chrome which enables Ajax CORS requests for the device simulator to spare you the CORS errors.
You can get it from here. The team plans to bring more improvements in the Helper in the future, so keep an eye on it.
Regards,
Iva Koevska
Telerik
Share what you think about AppBuilder and Telerik Platform with us in our feedback portal, so we can become even better!