@{
Layout = null;
}
$(function () {
var options = {
totalPages: '@ViewBag.TotalPages',
size: 'large',
alignment: 'right',
onPageClicked: function (e, originalEvent, type, page) {
ObjParams.pageNumber = page;
;
$.ajax({
url: '@Url.Action(null)',
type: 'POST',
dataType: 'json',
data: ObjParams,
success: function (response) {
;
$("#divContainer").html('');
$("#divContainer").empty();
$("#divContainer").html(response.DataContent.Content);
},
error: function (response) {
}
})
}
}
$('#paginator-test').bootstrapPaginator(options);
});
Layout = null;
}
$(function () {
var options = {
totalPages: '@ViewBag.TotalPages',
size: 'large',
alignment: 'right',
onPageClicked: function (e, originalEvent, type, page) {
ObjParams.pageNumber = page;
;
$.ajax({
url: '@Url.Action(null)',
type: 'POST',
dataType: 'json',
data: ObjParams,
success: function (response) {
;
$("#divContainer").html('');
$("#divContainer").empty();
$("#divContainer").html(response.DataContent.Content);
},
error: function (response) {
}
})
}
}
$('#paginator-test').bootstrapPaginator(options);
});
No comments:
Post a Comment