Show / Hide Table of Contents

Class UrlUtils

Inheritance
object
UrlUtils
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DotNetNuke.Common.Utilities
Assembly: DotNetNuke.dll
Syntax
public static class UrlUtils

Methods

ClosePopUp(bool, string, bool)

Declaration
public static string ClosePopUp(bool refresh, string url, bool onClickEvent)
Parameters
Type Name Description
bool refresh
string url
bool onClickEvent
Returns
Type Description
string

Combine(string, string)

Declaration
public static string Combine(string baseUrl, string relativeUrl)
Parameters
Type Name Description
string baseUrl
string relativeUrl
Returns
Type Description
string

DecodeParameter(string)

Declaration
public static string DecodeParameter(string value)
Parameters
Type Name Description
string value
Returns
Type Description
string

DecryptParameter(string)

Declaration
public static string DecryptParameter(string value)
Parameters
Type Name Description
string value
Returns
Type Description
string

DecryptParameter(string, string)

Declaration
public static string DecryptParameter(string value, string encryptionKey)
Parameters
Type Name Description
string value
string encryptionKey
Returns
Type Description
string

EncodeParameter(string)

Declaration
public static string EncodeParameter(string value)
Parameters
Type Name Description
string value
Returns
Type Description
string

EncryptParameter(string)

Declaration
public static string EncryptParameter(string value)
Parameters
Type Name Description
string value
Returns
Type Description
string

EncryptParameter(string, string)

Declaration
public static string EncryptParameter(string value, string encryptionKey)
Parameters
Type Name Description
string value
string encryptionKey
Returns
Type Description
string

GetParameterName(string)

Declaration
public static string GetParameterName(string pair)
Parameters
Type Name Description
string pair
Returns
Type Description
string

GetParameterValue(string)

Declaration
public static string GetParameterValue(string pair)
Parameters
Type Name Description
string pair
Returns
Type Description
string

GetQSParamsForNavigateURL()

Declaration
public static string[] GetQSParamsForNavigateURL()
Returns
Type Description
string[]

Handle404Exception(HttpResponse, PortalSettings)

Declaration
public static void Handle404Exception(HttpResponse response, PortalSettings portalSetting)
Parameters
Type Name Description
HttpResponse response
PortalSettings portalSetting

InPopUp()

Declaration
public static bool InPopUp()
Returns
Type Description
bool

IsPopUp(string)

Declaration
public static bool IsPopUp(string url)
Parameters
Type Name Description
string url
Returns
Type Description
bool

IsSecureConnectionOrSslOffload(HttpRequest)

Declaration
public static bool IsSecureConnectionOrSslOffload(HttpRequest request)
Parameters
Type Name Description
HttpRequest request
Returns
Type Description
bool

IsSecureConnectionOrSslOffload(HttpRequestBase)

Declaration
public static bool IsSecureConnectionOrSslOffload(HttpRequestBase request)
Parameters
Type Name Description
HttpRequestBase request
Returns
Type Description
bool

IsSslOffloadEnabled(HttpRequest)

Declaration
public static bool IsSslOffloadEnabled(HttpRequest request)
Parameters
Type Name Description
HttpRequest request
Returns
Type Description
bool

IsSslOffloadEnabled(HttpRequestBase)

Declaration
public static bool IsSslOffloadEnabled(HttpRequestBase request)
Parameters
Type Name Description
HttpRequestBase request
Returns
Type Description
bool

OpenNewWindow(Page, Type, string)

Declaration
public static void OpenNewWindow(Page page, Type type, string url)
Parameters
Type Name Description
Page page
Type type
string url

PopUpUrl(string, PortalSettings, bool, bool, int, int)

Declaration
public static string PopUpUrl(string url, PortalSettings portalSettings, bool onClickEvent, bool responseRedirect, int windowHeight, int windowWidth)
Parameters
Type Name Description
string url
PortalSettings portalSettings
bool onClickEvent
bool responseRedirect
int windowHeight
int windowWidth
Returns
Type Description
string

PopUpUrl(string, Control, PortalSettings, bool, bool)

Declaration
public static string PopUpUrl(string url, Control control, PortalSettings portalSettings, bool onClickEvent, bool responseRedirect)
Parameters
Type Name Description
string url
Control control
PortalSettings portalSettings
bool onClickEvent
bool responseRedirect
Returns
Type Description
string

PopUpUrl(string, Control, PortalSettings, bool, bool, int, int)

Declaration
public static string PopUpUrl(string url, Control control, PortalSettings portalSettings, bool onClickEvent, bool responseRedirect, int windowHeight, int windowWidth)
Parameters
Type Name Description
string url
Control control
PortalSettings portalSettings
bool onClickEvent
bool responseRedirect
int windowHeight
int windowWidth
Returns
Type Description
string

PopUpUrl(string, Control, PortalSettings, bool, bool, int, int, bool, string)

Declaration
public static string PopUpUrl(string url, Control control, PortalSettings portalSettings, bool onClickEvent, bool responseRedirect, int windowHeight, int windowWidth, bool refresh, string closingUrl)
Parameters
Type Name Description
string url
Control control
PortalSettings portalSettings
bool onClickEvent
bool responseRedirect
int windowHeight
int windowWidth
bool refresh
string closingUrl
Returns
Type Description
string

ReplaceQSParam(string, string, string)

Declaration
public static string ReplaceQSParam(string url, string param, string newValue)
Parameters
Type Name Description
string url
string param
string newValue
Returns
Type Description
string

StripQSParam(string, string)

Declaration
public static string StripQSParam(string url, string param)
Parameters
Type Name Description
string url
string param
Returns
Type Description
string

ValidReturnUrl(string)

Declaration
public static string ValidReturnUrl(string url)
Parameters
Type Name Description
string url
Returns
Type Description
string
Back to top by the community, for the community... #DNNCMS