Hi All,
i have using to retrive data from sql server using c# service the service
return minimum records then the success callback fires and the
data bind in the table , in case the large amount of records return the
c# service success callback is not working
here is my code :
factory -
getBatchList: function (MinorCode, oldRec) {
return $http({
method: 'POST',
url: '/DataService.aspx/GetBatchListShifting',
data: JSON.stringify({ MinorCode: MinorCode, OldBatch:
oldRec }),
contentType: 'application/json;charset=utf-8',
dataType: 'json'
});
},
controller :
var handleGetBatchSuccess = function (data, status)
{
$scope.BatchList = data.d;
}
$scope.SelectedListMinor = function () {
ShowProgress();
Batch.getBatchList($scope.Selectedminor.MinorCode,
$scope.OldBatch).success(handleGetBatchSuccess));
};
- thank you
Senthil Kumar.
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.