Class UrlUtils
Assembly: DotNetNuke.dll
Syntax
public static class UrlUtils
Methods
Declaration
public static string ClosePopUp(bool refresh, string url, bool onClickEvent)
Parameters
Returns
Combine(string, string)
Declaration
public static string Combine(string baseUrl, string relativeUrl)
Parameters
Returns
DecodeParameter(string)
Declaration
public static string DecodeParameter(string value)
Parameters
Type |
Name |
Description |
string |
value |
|
Returns
DecryptParameter(string)
Declaration
public static string DecryptParameter(string value)
Parameters
Type |
Name |
Description |
string |
value |
|
Returns
DecryptParameter(string, string)
Declaration
public static string DecryptParameter(string value, string encryptionKey)
Parameters
Returns
EncodeParameter(string)
Declaration
public static string EncodeParameter(string value)
Parameters
Type |
Name |
Description |
string |
value |
|
Returns
EncryptParameter(string)
Declaration
public static string EncryptParameter(string value)
Parameters
Type |
Name |
Description |
string |
value |
|
Returns
EncryptParameter(string, string)
Declaration
public static string EncryptParameter(string value, string encryptionKey)
Parameters
Returns
GetParameterName(string)
Declaration
public static string GetParameterName(string pair)
Parameters
Type |
Name |
Description |
string |
pair |
|
Returns
GetParameterValue(string)
Declaration
public static string GetParameterValue(string pair)
Parameters
Type |
Name |
Description |
string |
pair |
|
Returns
GetQSParamsForNavigateURL()
Declaration
public static string[] GetQSParamsForNavigateURL()
Returns
Handle404Exception(HttpResponse, PortalSettings)
Declaration
public static void Handle404Exception(HttpResponse response, PortalSettings portalSetting)
Parameters
Declaration
public static bool InPopUp()
Returns
Declaration
public static bool IsPopUp(string url)
Parameters
Type |
Name |
Description |
string |
url |
|
Returns
Declaration
public static bool IsSecureConnectionOrSslOffload(HttpRequest request)
Parameters
Returns
IsSslOffloadEnabled(HttpRequest)
Declaration
public static bool IsSslOffloadEnabled(HttpRequest request)
Parameters
Returns
OpenNewWindow(Page, Type, string)
Declaration
public static void OpenNewWindow(Page page, Type type, string url)
Parameters
Declaration
public static string PopUpUrl(string url, PortalSettings portalSettings, bool onClickEvent, bool responseRedirect, int windowHeight, int windowWidth)
Parameters
Returns
Declaration
public static string PopUpUrl(string url, Control control, PortalSettings portalSettings, bool onClickEvent, bool responseRedirect)
Parameters
Returns
Declaration
public static string PopUpUrl(string url, Control control, PortalSettings portalSettings, bool onClickEvent, bool responseRedirect, int windowHeight, int windowWidth)
Parameters
Returns
Declaration
public static string PopUpUrl(string url, Control control, PortalSettings portalSettings, bool onClickEvent, bool responseRedirect, int windowHeight, int windowWidth, bool refresh, string closingUrl)
Parameters
Returns
ReplaceQSParam(string, string, string)
Declaration
public static string ReplaceQSParam(string url, string param, string newValue)
Parameters
Returns
StripQSParam(string, string)
Declaration
public static string StripQSParam(string url, string param)
Parameters
Returns
ValidReturnUrl(string)
Declaration
public static string ValidReturnUrl(string url)
Parameters
Type |
Name |
Description |
string |
url |
|
Returns