Closed xXAvoraXx closed 1 year ago
First, I'm sorry my bad english.
I'm adding repeater data using Ajax-service object. Page down Scroll bar loader as it seems. But the data is not yet installed. How can I solve it?
var params = new Object(); params.skip = "10"; params.urlpath = window.location.href; debugger; $(document).ready(function () { debugger; $(document).endlessScroll({ inflowPixels: 0, fireOnce: true, fireDelay: 1000, loader: '', ceaseFireOnEmpty: false, intervalFrequency: 1000, callback: function (p) { debugger; $.ajax({ type: "POST", url: "/AjaxService.asmx/GetIlan", data: $.toJSON(params), contentType: "application/json; charset=utf-8", dataType: "json", complete: function (response) { // access the params params.skip = parseInt(params.skip) + 10; }, success: function (response) { // I'm pulling data here. } } }); return false; } }); });
Thanks,
First, I'm sorry my bad english.
I'm adding repeater data using Ajax-service object. Page down Scroll bar loader as it seems. But the data is not yet installed. How can I solve it?
var params = new Object(); params.skip = "10"; params.urlpath = window.location.href; debugger; $(document).ready(function () { debugger; $(document).endlessScroll({ inflowPixels: 0, fireOnce: true, fireDelay: 1000, loader: '', ceaseFireOnEmpty: false, intervalFrequency: 1000, callback: function (p) { debugger; $.ajax({ type: "POST", url: "/AjaxService.asmx/GetIlan", data: $.toJSON(params), contentType: "application/json; charset=utf-8", dataType: "json", complete: function (response) { // access the params params.skip = parseInt(params.skip) + 10; }, success: function (response) {
// I'm pulling data here. } } }); return false; } }); });
Thanks,