Skip to main content

Posts

Showing posts with the label Download PDF file

AngularJs download CSV/PDF file using JSON data

Download CSV file from web API in AngularJs Example in detail for download CSV file using JSON data. HTML Code looks like -     < div class ="text-right">         < a href ="javascript:void(0)" ng-click =" download () "> Download </ a >     </ div > AngularJs code looks like -   $scope.download = function () {             var request = {};             var userId = localStorage.getItem( "UserId" );             request.PageNo = $scope.PageNo;             request.PageSize = $scope.PageSize;              ControllerService.Post( "/User/GetUserList" ,      ...