I have built a Web Matrix site using VB.NET. I added a file called reports.aspx to handle some reporting. Specifically, it uses the Neodynamic Web Client Print SDK to save a report from SSRS to PDF then redirects to a handler file called reports.ashx that
actually handles the printing.
Code from reports.aspx
<%@ Page Language="VB" %>
<%@ Import Namespace="System.IO" %>
<%@ Import Namespace="Microsoft.Reporting.WebForms" %>
<%-- Register the WebClientPrint script code --%>
<%=Neodynamic.SDK.Web.WebClientPrint.CreateScript(MyUtils.GetWebsiteRoot() + "reports.ashx")%>
<!DOCTYPE html>
<script language="VB" runat="server">
Private Sub Page_Load(sender As Object, e As EventArgs)
Dim reportname As String
Dim paramBlock As New ReportParameter()
Dim paramID As New ReportParameter()
reportname = Request("r ...
Go to the complete details ...