This example sets the form's action attribute to a URL, which requests the CustomerSales report as an HTML page (and not as a PDF file): @Using Html.BeginForm(New With {.id="custreport", ...