RequestHelper Methods |
The RequestHelper type exposes the following members.
Name | Description | |
---|---|---|
ContextBool |
Extract the specified boolean value from the current request.
| |
ContextInt |
Extracts an int value, by name, from the request defaulting to zero if not found.
| |
GetPopupCloseJS |
Gets the javascript for closing the Find window/div.
Generally you should use PopupCloseJS which determines whether or not to use Bootstrap
based on UseBootstrap(IAppContext).
| |
GetSaveTargetNav |
Generate a page navigation string for a SaveTarget property including any SaveQueryParams. The resulting
string will be a complete URL or URL parameters only according to the attributes provided.
| |
HasCSSBleedRisk |
Gets whether or not there's a potential for CSS bleedthrough from the current request to the containing page.
IE9 has a bug that allows CSS (specifically media queries) in an iframe to bleed through to the containing page.
The workaround to this is to make sure that IE considers a particular CSS file referenced in the containing page
to be distinct from the CSS file referenced in the iframe. The easiest way to do this is to add some query
parameter to the CSS file URL in the iframe making IE view them as distinct.
| |
PostOpJS(Boolean, String, Boolean) |
Generate javascript for safely refreshing the opener window.
| |
PostOpJS(Boolean, String, Boolean, String) |
Generate javascript for safely refreshing the opener window.
|