You need to notify the route handler that the control on the page is expecting URL parameters to be resolved. To achieve this, you need to set the UrlParamtersResolvedKey in the
CurrentHttpContext.Items collection. It needs to be done in an early stage of the control lifecycle. Here's some code to help you.
sender, EventArgs e)
var param =
ParamLiteral.Text = param;