Have an asp page where the user selects a button to display information to a
new window in PDF format. Seeking a coding example...
GlassHello Glass.
the following code allows you to recall a report in three different ways.
----
<html>
<head>
<title>HTMLPage1</title>
</head>
<body>
<INPUT id="Button3" type="button" value="Without Parameters" name="Button2"
onclick="JavaScript:window.open('">http://NameServer/reportserver?/SampleReports/Foodmart+Sales&rs:Command=Render&rs:format=PDF')">
<INPUT id="Button4" type="button" value="With Parameters" name="Button1"
onclick="JavaScript:window.open('">http://NameServer/reportserver?/SampleReports/Foodmart+Sales&rs:Command=Render&rs:format=PDF&ProductFamily=Food')">
<form
action="http://NameServer/reportserver?/SampleReports/Foodmart+Sales&rs:Command=Render&rs:format=PDF"
method="post" name="myForm" name="myForm" ID="Form1">
<INPUT type="text" ID="Text1" NAME="ProductFamily" value="Drink">
<INPUT type="Button" value="Send Parameters by form " ID="Button5"
NAME="Send" onclick="JavaScript:document.all('myForm').submit();">
</form>
</body>
</html>
"Glass" wrote:
> Have an asp page where the user selects a button to display information to a
> new window in PDF format. Seeking a coding example...
> Glass
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment