The PageUtility type exposes the following members.
Methods
Name | Description | |
---|---|---|
AllowPageDesign |
Checks if interactive page design is allowed (via WebPartManager).
|
|
CanViewAdminPage |
Used to check if the user can access the administrative page with the specified url.
|
|
ChangeLanguage |
Changes language by redirect or transfer.
|
|
ChangeLanguageByRedirect |
Changes language by Server.Redirect.
|
|
ChangeLanguageByTransfer |
Changes language by Server.Transfer.
|
|
ClearNavigationCache |
Clears the navigation cache.
|
|
ClearPageCache |
Clears the page cache.
|
|
CreateHeaderScript |
Injects references to javascript files directly in the header of the page.
|
|
GetAppRelativeCurrentExecutionFilePath |
Returns the AppRelativeCurrentExecutionFilePath for a page.
When URL routing is used (in ASP.NET 3.5 and above), this property does not have to reflect the real page URL (when the URL is rewritten).
Custom original execution URLs are used when rewriting paths in WebPartUtility class and related methods.
|
|
GetCustomErrorsDefaultRedirectUrl |
Retrieves custom errors section default redirect url if set.
|
|
GetPageProperties |
Retrieves page properties by their relative execution path.
|
|
GetTemplateFolder()()()() |
Finds the template folder for the currently executing page.
Used to support multiple themes inside a single site.
|
|
GetTemplateFolder(IHttpHandler) |
Finds the template folder for the currently executing page.
Used to support multiple themes inside a single site.
|
|
InjectJQMobileHeaders(BaseMobilePage) |
Injects jQuery Mobile script references to the header of the page.
|
|
InjectJQMobileHeaders(Page, Boolean, Boolean, Boolean) |
Injects jQuery Mobile script references to the header of the page.
|
|
InjectJQueryUIHeaders |
Injects jQuery UI library scripts and css.
|
|
IsPostbackCausedByButton |
Used for determining if the specific button caused a postback, in scenarios where MonoSoftware.Web.PageExtension.GetPostBackControl cannot be used, as it enumerates all controls on a page and causes some evetns - like CreateChildControls - to be fired too early.
|