I'm having trouble with a custom module I have made. It inherits PortalModuleBase and I'm adding hyperlinks to the control tree dynamically.
Stepping through through the code in debug mode, my href values are being set correctly eg:
Using link As New HyperLink
link.NavigateUrl = "#MyControlID"
link.Text = "Christopher Mason"
But, it looks like the response is being mutated and the url is ending up like this:
<a href="DesktopModules/RIS/InfoBox/#MyControlID">Christopher Mason</a>
I have tried for about two hours to stop this from happening, I have "googled it" but can't find an answer.
Any help would be much appreciated!