I have three different grids on three different pages and the data is different in all these grids and are defined by a variable called "ModuleId".
The first grid shows all the Risks with the Module Id = 3, the second grid shows all the Issues with the Module Id = 4, an the last grid shows all the Actions with the Module Id = 5. When exporting any of these grids I need to capture the Module Id and pass this to the Controller. From the controller I would select the data using this:
How would I be able to pass this variable into the controller, and more specifically use it to export the correct data in the excel file?
I have tried a couple of different ways when searching the Internet but nothing seems to work.
Any help or guidance would be greatly appreciated
Cheers,
Frankie