URLHelper MergeQueryStrings Method Kentico 8.1 API Reference
Merges two query strings. Query string parameters should (but don't have to) start with question mark but they definitely must omit path part of URL.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

originalQuery
Type: OnlineSystem String
Query string to be merged with newQuery parameter.
newQuery
Type: OnlineSystem String
Query string to be merged with originalQuery parameter.
preferOriginal
Type: OnlineSystem Boolean
If true, parameters from originalQuery takes first priority

Return Value

Type: OnlineString
See Also