function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Amit ChaudharyAmit Chaudhary 

Save button is not working on my running VF page(reder as PDF) ?

User-added image

first page
<apex:page controller="SaveInvoice">
<apex:commandbutton action={!calculate_n_refer_2_another_page}/>

that  contain command button and controller class conCls ( that class have a mehod for creating data tabel and return new page reference of second apex class )

second page
<apex:page controller="SaveInvoice" renderas="pdf">
<apex:datatabel>


so when command button refer control to the second vf page in new tab , all things working but that Save button is not working .Why ?
Thanks in advance .
shail@trekkingshail@trekking
Even we faced similar kind of issue.

It seems Chrome is the only one to have this weird behavior. PDF gets saved in Firefox, Opera and IE browsers. The only finding that we had was same controller - for initial launch page and actual PDF page. If you try same thing with different controllers, save works as expected.

If differentiating the controllers is not possible, then a practical solution to it would be to right click on PDF and do 'Save Page as'.