Sign in to follow this  
skhf

Exporting fine with context menu but not javascript in IE with serverside exporting

Recommended Posts

Hello ,

 

I have an issue with IE and javascript export .I am able to export using context menu using flash 8 in IE .I am using server side export .But same gets me an object not found error in IE not firefox though .Please let me know .

Share this post


Link to post
Share on other sites
Guest Madhumita

Hello,

Could you please send us the code you are working on?

Awaiting your reply.

Edited by Guest

Share this post


Link to post
Share on other sites






























 

 

 

The above is the xml .

 

 

 

 

 

jsp

 

 

 

var dataURL = '/bats/company/stocktest/FusionChart.do?frequency='+freq+'&ticker='+tck+'&entityid='+entityid+'&period='+prd+

 

'&displaytype='+disp+'&indextypes='+index_type_vals+'&graphtypes='+graph_type_vals+'&cstfrom='+cstfrom+'&cstto='+cstto+'&type=XML';//+s;

 

var chart1 = new FusionCharts("/bats/fusionstockcharts/FusionCharts/MSLine.swf", "chart1Id", "500", "400", "0", "1");

 

chart1.setDataURL(escape(dataURL));

 

chart1.setTransparent(true);

 

chart1.render(Ext.getCmp('nav_1').getEl().id);

 

 

 

Javascript calling the pdf.

 

function pdfer(){

 

var chartObject = getChartFromId('chart1Id');

 

 

 

if( chartObject.hasRendered()==true){

 

chartObject.exportChart({exportFormat:'PDF'});

 

}

 

}

Edited by Guest

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this