AdministrationUrlHelperGetErrorPageUrl Method |
Gets URL for the error page which displays specified message.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntax 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:
StringURL for the error page
See Also