I created an iframe HtmlGenericCont rol that has an ampersand in the "src"
attribute.....
Dim faxFrame As New HtmlGenericCont rol("iframe")
faxFrame.Attrib utes.Add("width ", "100%")
faxFrame.Attrib utes.Add("heigh t", "90%")
faxFrame.Attrib utes.Add("frame border", "no")
faxFrame.Attrib utes.Add("src", "/archive/view.aspx?isPlu gin=" & isPlugin &
"&iDoc=" & Server.UrlEncod e(intDoc))
However when the control is rendered this is how it appears ...
<iframe width="100%" height="90%" frameborder="no "
src="/archive/view.aspx?isPlu gin=false&i Doc=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
attribute.....
Dim faxFrame As New HtmlGenericCont rol("iframe")
faxFrame.Attrib utes.Add("width ", "100%")
faxFrame.Attrib utes.Add("heigh t", "90%")
faxFrame.Attrib utes.Add("frame border", "no")
faxFrame.Attrib utes.Add("src", "/archive/view.aspx?isPlu gin=" & isPlugin &
"&iDoc=" & Server.UrlEncod e(intDoc))
However when the control is rendered this is how it appears ...
<iframe width="100%" height="90%" frameborder="no "
src="/archive/view.aspx?isPlu gin=false&i Doc=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
Comment