Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

PopUp with PDF content

$
0
0
Well, we have a custom method to returns a PDF from exported grid's data. This works fine and we get the PDF in the callback answer.
The question here is: How can we get in this code point a new window showing this PDF content?
Our code:

Code:

isc.IButton.create({
        title: "myPDFButton",
        click: function () {
                this.parentElement.myGrid.exportData({operationId: "customExport",
                                                                                        exportToClient: false},
                                                                                        function (dsResponse, data, dsRequest){
                                                                                                        // data returns my PDF content here, but...
                                                                                                        // How can I show it in a new popup window? (or a similar way)
                                                                                        });
        }
});

Thanks in advance.

We are working under:
v9.0p_2013-08-20/PowerEdition Development SC and IExplrorer 10.0.9200 navigator, Eclipse Helios and Tomcat 7.0.28

Viewing all articles
Browse latest Browse all 4756

Trending Articles