b83ad52b40d4f842035c31efb6571fc915091ddc
FAQ/Questions/modifying-rs-dot-aspx.md
| ... | ... | @@ -0,0 +1,16 @@ |
| 1 | +#Modifying rs.aspx |
|
| 2 | + |
|
| 3 | +[[_TOC_]] |
|
| 4 | + |
|
| 5 | +##About |
|
| 6 | + |
|
| 7 | +The rs.aspx page is a placeholder page that interfaces with the response server, allowing data to be transferred from the server to the client and granting access to resources embedded within the Izenda dll. |
|
| 8 | + |
|
| 9 | +##Custom redirects |
|
| 10 | + |
|
| 11 | +You can create a subclass of the ``ResponseServer`` class and override the ``PreOnInit()`` method. Then you can, for instance, check if the querystring is blank and redirect if it is. Then all you must do is change the ``inherits=`` line in the page directive from the default ResponseServer to your custom ResponseServer. |
|
| 12 | +``` |
|
| 13 | +<%@ Page language="c#" AutoEventWireup="false" Inherits="Izenda.AdHoc.ResponseServer, Izenda.AdHoc"%> |
|
| 14 | +``` |
|
| 15 | + |
|
| 16 | +**Caveat:** Overriding the response server can lead to abnormal behaviors in the reporting service. |
|
| ... | ... | \ No newline at end of file |