G
Greg Allen
I have an HtmlAnchor control that I am trying to use as a "local" link on
the page, like
this:
Dim ChartLink As New HtmlAnchor()
ChartLink.HRef = "#" & ChartAnchor.ClientID
ChartLink.InnerText = "(see graph)"
NameCell.Controls.AddAt(1, ChartLink)
However, when the page is rendered, the path to the parent control is being
prepended. I assume this is somehow using the TemplateSourceDirectory and
ResolveURL when it is rendered.
It comes out like this:
<a href="/Voyager/Assessment/Controls/#_ctl0_27">
But I want to shut it off! I want to get it to come out like this:
<a href="#_ctl0_27">
Any ideas? I've tried using a Hyperlink control, but the same issue
occurs...
Thanks,
-- Greg Allen
(e-mail address removed)
the page, like
this:
Dim ChartLink As New HtmlAnchor()
ChartLink.HRef = "#" & ChartAnchor.ClientID
ChartLink.InnerText = "(see graph)"
NameCell.Controls.AddAt(1, ChartLink)
However, when the page is rendered, the path to the parent control is being
prepended. I assume this is somehow using the TemplateSourceDirectory and
ResolveURL when it is rendered.
It comes out like this:
<a href="/Voyager/Assessment/Controls/#_ctl0_27">
But I want to shut it off! I want to get it to come out like this:
<a href="#_ctl0_27">
Any ideas? I've tried using a Hyperlink control, but the same issue
occurs...
Thanks,
-- Greg Allen
(e-mail address removed)