Hi,
I found out that the problem is this:
I have a view with a tab control with two items.
Each tab has a grid. The grid in the first tab (tabindex =0) does not have export tool. The grid in the second tab (tabindex = 1) does have the excel export tool.
After click in excel export button, I look at the GridModel that the controller receives and found that is the model of the first grid, not the grid that have the export button.
If I put the tab item with the grid that have the export button as the frist tab item, problem solved. So, what if I need to export from both grids? Probably I have to do it, so I will appreciate your help.
Kind regards,
Juan J. Uribe