I created an iframe HtmlGenericControl that has an ampersand in the "src"
attribute.....
Dim faxFrame As New HtmlGenericControl("iframe")
faxFrame.Attributes.Add("width", "100%")
faxFrame.Attributes.Add("height", "90%")
faxFrame.Attributes.Add("frameborder", "no")
faxFrame.Attributes.Add("src", "/archive/view.aspx?isPlugin=" & isPlugin &
"&iDoc=" & Server.UrlEncode(intDoc))
However when the control is rendered this is how it appears ...
<iframe width="100%" height="90%" frameborder="no"
src="/archive/view.aspx?isPlugin=false&iDoc=document"></iframe>
It converts the ampersand in my querystring to the entity equiv of &
Is there any way to make it preserve the ampersand... or is their any other
suggestions to accomplish the same thing?
Thanks
Tim Fortney