URLHelper RemoveEmptyQueryParameters Method Kentico 8.0 API Reference
Removes empty query parameters. (eg. '?param=' -> '')

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

Parameters

query
Type: OnlineSystem String
Query string to clean from empty parameters

Return Value

Type: OnlineString
Query string with no empty parameters
See Also