CMSDialogHelperRemoveQueryAndAnchorFromUrl Method |
Removes the query string and anchor from the given URL.
Namespace: CMS.Base.Web.UIAssembly: CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 13.0.131
Syntax public static string RemoveQueryAndAnchorFromUrl(
string url,
out string queryAndAnchor
)
Parameters
- url
- Type: SystemString
The URL to be processed. - queryAndAnchor
- Type: SystemString
The cut-off query and anchor removed from the given URL ('?param=1#tag').
Return Value
Type:
StringURL without query string or anchor.
See Also