This question is locked. New answers and comments are not allowed.
Can anyone tell me how to do some error handling in Icenium, JS
If for any reason my www.mydomain.com Server is down the app will display an endless loading icon. Which of course is not really nice.
How to approach this?
Markus
If for any reason my www.mydomain.com Server is down the app will display an endless loading icon. Which of course is not really nice.
How to approach this?
Markus
app.dataSource =
function
() {
var
myDataSource =
new
kendo.data.DataSource({
transport:{
read:{
url:
"http://www.mydomain.com/api/T_dpd_verses/GetTodaysVers/"
+ dayOfYear +
"/"
+ window.localStorage.getItem(
"Sprache"
),
data:{
Accept:
"application/json"
}
}
}
,
schema: {
model: {
id:
"myVerses"
,
fields: {
VDay :{},
VID :{ type:
"string"
},
VLanguage : { type:
"string"
},
VText: { },
VVers : { type:
"string"
},
}
}
}
});
return
myDataSource;
}