Click or drag to resize
URLHelperEncodeQueryString Method

Note: This API is now obsolete.

Encodes QueryString part of URL with HTML encode.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax
C#
[ObsoleteAttribute("This method is obsolete use HTMLHelper.EncodeForHtmlAttribute or HTMLHelper.HtmlEncode instead.")]
public static string EncodeQueryString(
	string url
)

Parameters

url
Type: SystemString
URL to be encoded

Return Value

Type: String
URL with encoded query string
See Also