a0864513bd6c0435e6ff7b6c7c95d29f3803f1c8
FAQ/Questions/modifying-rs-dot-aspx.md
| ... | ... | @@ -9,7 +9,7 @@ The rs.aspx page is a placeholder page that interfaces with the response server, |
| 9 | 9 | ##Custom redirects |
| 10 | 10 | |
| 11 | 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 | -``` |
|
| 12 | +```csharp |
|
| 13 | 13 | <%@ Page language="c#" AutoEventWireup="false" Inherits="Izenda.AdHoc.ResponseServer, Izenda.AdHoc"%> |
| 14 | 14 | ``` |
| 15 | 15 |