<body>
<div ng-controller="DialogCtrl" class="reportviewer" style="height:100%; width: 100%">
<label>
CustomerID:
<input type="text" name="CustomerID" ng-model="customerid" required ng-trim="false">
</label>
<button id="button1" ej-button e-showroundedcorner="true" e-size="medium" e-text="Submit" e-click="onClick" style="height:20px;width:20px;top:10px"></button>
<div id="container" ej-reportviewer e-reportserviceurl="reportServiceUrl" e- processingmode="remoteMode" e-ajex e-isresponsive="true" e-parameters="parameters" e-reportpath="rdlReportPath" e-locale="de-DE" style="width:100%;height:580px;"></div>
</div>
<script type="text/javascript">
var parameters = [{
name: 'CustomerID',
labels: ['29661'],
values: [29661],
nullable: false
}];
angular.module('syncApp', ['ejangular']).controller('DialogCtrl', function ($scope, $interval) {
$scope.reportServiceUrl = '/api/ReportApi';
$scope.remoteMode = ej.ReportViewer.ProcessingMode.Remote;
$scope.rdlReportPath = 'Region.rdl';
$scope.parameters = parameters;
$scope.Submit = 'submit';
});
</script>
</body> |