Mini Kabibi Habibi
<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>
<asp:Content ID="indexContent" ContentPlaceHolderID="ContentHolder" runat="server">
<% Html.BeginForm("ExportTo", "GridView"); %>
<% foreach(string typeName in GridViewDemosHelper.ExportTypes.Keys) { %>
<input type="submit" name="<%= typeName %>" value="<%= GridViewDemosHelper.ExportTypes[typeName].Title %>" />
<% } %>
<br />
<p class="Note">
<strong>Note:</strong> When exporting grouped data to an RTF file, be certain to open the resulting file with an editor that fully supports RTF, including tables. Microsoft WordPad does not support this feature and thus the file may appear incorrectly.
</p>
<%
Html.RenderPartial("ExportPartial", Model);
%>
<% Html.EndForm(); %>
</asp:Content>