I need pass data or object (Criteria) from AngularJS to Crystal Report Viewer in asp.net Web
AngularJS Code:
$scope.OnPrint = function() {
$window.open('http://localhost:89/', '_blank');
};
Thank.
You can use query string:
$scope.OnPrint = function() {
$window.open('http://localhost:89/?param1=value¶m2=value', '_blank');
};
Use the query string:
$scope.OnPrint = function() {
var param1 = '192';
var param2 = 'userReport';
$window.open('http://localhost:89/?param1=' + param1 + '¶m2=' + param2, '_blank');
};
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.