Click or drag to resize

RequestHelper Class

Helper class for working with platform requests.
Inheritance Hierarchy
SystemObject
  NetQuarryRequestHelper

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public static class RequestHelper

The RequestHelper type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberIFrameID
Gets the client-side ID of the iframe element making the request.
Public propertyStatic memberIsPopup
Determines if the current request is hosted in a popup.
Public propertyStatic memberIsSubform
Gets whether or not the request is being hosted in a subform.
Public propertyStatic memberPopupCloseJS
Gets the javascript for closing the popop (e.g. Find) window/div. You can use GetPopupCloseJS(Boolean) for a non-Bootstrap-based popup in a Bootstrap application, or vice-versa.
Public propertyStatic memberPopupOptions
Extracts the PopupOpts from the request default to zero if not found.
Public propertyStatic memberPopupType
Determines the PagePopupType from the request.
Top
Methods
  NameDescription
Public methodStatic memberContextBool
Extract the specified boolean value from the current request.
Public methodStatic memberContextInt
Extracts an int value, by name, from the request defaulting to zero if not found.
Public methodStatic memberGetPopupCloseJS
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).
Public methodStatic memberGetSaveTargetNav
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.
Public methodStatic memberHasCSSBleedRisk
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.
Public methodStatic memberPostOpJS(Boolean, String, Boolean)
Generate javascript for safely refreshing the opener window.
Public methodStatic memberPostOpJS(Boolean, String, Boolean, String)
Generate javascript for safely refreshing the opener window.
Top
See Also