Click or drag to resize
AdministrationUrlHelperGetErrorPageUrl Method
Gets URL for the error page which displays specified message.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 11.0.0
Syntax
C#
public static string GetErrorPageUrl(
	string titleResourceString,
	string textResourceString,
	bool isDialog = false,
	string pageUrl = "~/CMSMessages/Error.aspx"
)

Parameters

titleResourceString
Type: SystemString
Resource string used as a title
textResourceString
Type: SystemString
Resource string used as a text
isDialog (Optional)
Type: SystemBoolean
Set to true if the error page should be displayed in the dialog
pageUrl (Optional)
Type: SystemString
Custom page URL to be used

Return Value

Type: String
URL for the error page
See Also