You need to sign in to do that
Don't have an account?
How to Convert save button as Multi Functionality
HI Thanks in advance,
How to Convert single button as Save & Export as Excel sheet in local machine , I want Convert Save button as multi actions.

This above page allows the user enter text data when user clicks on save button it will save data & export data in Excel sheet. Please help me over this code. i want controller clas for this . please share workable Apex code for this.
I have used both Controller class & Vf page unable to Export the data. Please share the code if you have.
Thanks
How to Convert single button as Save & Export as Excel sheet in local machine , I want Convert Save button as multi actions.
This above page allows the user enter text data when user clicks on save button it will save data & export data in Excel sheet. Please help me over this code. i want controller clas for this . please share workable Apex code for this.
<apex:page sidebar="false" StandardController="Account" standardstylesheets="false" rendered="true" docType="html-5.0"> <apex:form > <apex:pageBlock > <apex:pageBlockButtons > <apex:commandButton action="{!save}" value="Save"/> </apex:pageBlockButtons> <table id="newspaper-b" border="" width="100%"> <thead> <tr> <td>Value1</td> <td>Value2</td> <td>Adding Value</td> </tr> </thead> <tr> <td><apex:inputText style="width:60px;height:20px"/></td> <td><apex:inputText style="width:60px;height:20px"/></td> <td><apex:inputText style="width:60px;height:20px"/></td> </tr> <tr> <td><apex:inputText style="width:60px;height:20px"/></td> <td><apex:inputText style="width:60px;height:20px"/></td> <td><apex:inputText style="width:60px;height:20px"/></td> </tr> <tr> <td><apex:inputText style="width:60px;height:20px"/></td> <td><apex:inputText style="width:60px;height:20px"/></td> <td><apex:inputText style="width:60px;height:20px"/></td> </tr> </table> </apex:pageBlock> </apex:form> </apex:page>
I have used both Controller class & Vf page unable to Export the data. Please share the code if you have.
Thanks
contentType="text/csv#doc.csv" and export the data , but you have to perform save oeration then do export