I want to download the records of the output of search criteria to excel.
As the fields for search criteria are more than 20. I am submitting the form with POST method rather than GET.
On click of "Download2excel", the hidden variable name1 is set to Yes. so i will check the condition in my code. Once the download is successful, I want to reset the variable.
Here is a sample structure of my code.
As i am not executing the form after posting the form, i am not able to access the variable name1 is in it. I want to reset the variable name1.
I want to trigger the download, after submitting the form. As the records that are downloaded to excel should obey input search criteria.
Please suggest me a better procedure.