BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
<script type="text/javascript"> var _params = null; ej.ReportViewer.prototype._viewReportParamsClick = function (event) { var proxy = $('#reportsample').data('ejReportViewer'); var parameters = event.data.params; var reportParams = proxy._getParameterJson(parameters); proxy._refresh = true; $('#' + proxy._id + '_viewBlockContainer .e-reportviewer-viewerblockcontent table:first').attr('isviewclick', 'true'); _params = reportParams; proxy._refreshReport(); } ej.ReportViewer.prototype.doAjaxPost = function (type, url, jsondata, onSuccess) { var proxy = $('#reportsample').data('ejReportViewer'); var inVokemethod = onSuccess; $.ajax({ type: type, url: url, crossDomain: true, contentType: 'application/json; charset=utf-8', dataType: 'json', data: jsondata, beforeSend: function (req) { if (inVokemethod == "_getDataSourceCredential") { var _json = jQuery.parseJSON(this.data); if (_params != null) { _json["params"] = _params; } this.data = JSON.stringify(_json); } if (inVokemethod == "_getPageModel" || inVokemethod == "_getPreviewModel") { if (!proxy._isToolbarClick) { proxy._showloadingIndicator(true); proxy._updateDatasource = true; } else { proxy._showNavigationIndicator(true); } } req.setRequestHeader('ejAuthenticationToken', proxy._authenticationToken); }, success: function (data) { if (data && typeof (data.Data) != "undefined") { data = data.Data; } if (typeof (data) == "string") { if (data.indexOf("Sf_Exception") != -1) { proxy._renderExcpetion(inVokemethod + ":" + data); return; } } proxy[inVokemethod](data); }, }); } </script> |