Dear Support Team,
I am looking to update the version that i already i am use to 2016.1.28, and i set ShowToolBar="false" at the report viewer which means that all functionally of report viewer (page nevigation,zoom ,viewmode,export ,...etc) i need to call it form client side through javascript.
Now point is how to show export settings popup ?
For example now i am working on version 2014.3.17
<a href="javascript:PrintReport('SaveWord2007');" runat="server" id="SaveWord2007">
function PrintReport(Mode) {
webViewer.setAttribute('ActionFunction', "__doPostBack('ctl00$MainContentPlaceHolder$StiCallbackPanel$RV','callbackAction')")
StiShowExportSettings(ReportViewerClientID, Mode); document.getElementById('__EVENTARGUMENT').value = ''
}
How to show export settings
Re: How to show export settings
also how do direct print at client side?
Re: How to show export settings
Hello,
Please check the following code:
Thank you.
Please check the following code:
Code: Select all
<body>
<form id="form1" runat="server">
<div>
<cc2:StiWebViewer ID="StiWebViewer1" runat="server" ShowToolbar="false" />
</div>
<script>
//Save
var exportType = "Word2007"; //"SaveDocument", "Pdf", "Xps", "Ppt2007", "Html", "Text", "Rtf", "Word2007", "Odt", "Excel", "Ods", "Csv", "ImageBmp"
if (jsStiWebViewer1.options.exports.showExportDialog)
jsStiWebViewer1.controls.forms.exportForm.show(exportType, jsStiWebViewer1.options.actions.exportReport);
else
jsStiWebViewer1.postExport(exportType, jsStiWebViewer1.getDefaultExportSettings(exportType));
//Print
var printType = "PrintPdf"; //"PrintPdf", "PrintWithPreview", "PrintWithoutPreview"
jsStiWebViewer1.postPrint(printType);
//Where jsStiWebViewer1 - 'js' + WebViewer id.
</script>
</form>
</body>
Re: How to show export settings
Thank you,And i want to thank stimulsoft for this powerful tool and support.
Re: How to show export settings
Hello,
Thank you very much for these words! We are very glad that our product satisfies your requirements. Our main goal is to provide a product which is as close to the developers' requirements and ease of use for end users as possible.
Thank you.
Thank you very much for these words! We are very glad that our product satisfies your requirements. Our main goal is to provide a product which is as close to the developers' requirements and ease of use for end users as possible.
Thank you.