@model SA.MarketingManager.WebClient.Areas.Reports.Models.ViewReportModel
@{
Layout = \"~/CustomViews/lennoxcap.net/Shared/_DealerLayout.cshtml\";
}
@using (Html
I wrote a little blog post about this here : http://landokal.wordpress.com/2011/04/28/asp-net-mvc-export-to-excel-trick/
Essentially, what you could do is, create a button that sent the contents of one of the elements on your page and assigned it to a property on your model, therefore everytime you exported that view, your Export method could check the model property instead of rendering the view directly.
Also in the post are some code samples how to do a basic export to excel in MVC if you don't want to go the other route.