API/CodeSamples/ReportViewer/Custom-Export-Buttons.md
... ...
@@ -7,5 +7,6 @@
7 7
This code sample will allow you to place your own export buttons wherever you need them on your report viewer. This button uses our built-in PDF icon and is set to export to pdf. However, you can change but the **"src"** and **"&output=pdf"** properties to match whatever image and export type you wish to use, respectively.
8 8
9 9
```csharp
10
-<img src="rs.aspx?image=pdf.gif" onclick="window.location='<%=string.Format("{0}?{1}&output=pdf",Request.ServerVariables["PATH_INFO"],Request.ServerVariables"QUERY_STRING"])%>'"
10
+<img src="rs.aspx?image=pdf.gif" onclick="window.location='<%=string.Format("{0}?
11
+ {1}&output=pdf",Request.ServerVariables["PATH_INFO"],Request.ServerVariables"QUERY_STRING"])%>'"
11 12
```
... ...
\ No newline at end of file