I want  to refresh the grid in a download action.

I want  to refresh the grid in a download action.

  

Hi everyone, 

           I have action which is used to download xml file(Using Download), in the same action i want to refresh the grid, is it possible without using any extension.



Thanks

Rajendra Singh 

Hi Rajendra,

Can you tell me why do you want to refresh the grid ? 



Regards

-PJ-


Refresh query and ajax refresh before download?

Hi Rajendra,

Not directly. A download link can never be an Ajax Submit (the reason is some technicality with HTTP, afaik). What you can do is perform a widget click on a hidden link or button, and refresh from its action.

Hi Pramod Jain, ...I am downloading the xml using download and in the same action  updating  the table, when the file will get downloaded then i need to show the table detail into the grid. 

my question was if i will use the  download widget the ajax refresh will not work. so i cant refresh the grid....thanks

Hi Nelson Inácio, I think ajax refresh will not work..thanks 




Hi Kilian Hekhuis.. thanks.. you are right ajax submit will not work..let me try with click widget..




Thanks

Rajendra Singh