C
Chuck P
If I create a control which uses an embedded image and then put in on an
HTTPS request IE complains about having secure and nonsecure items.
The code is:
protected override void RenderContents(HtmlTextWriter writer)
writer.AddAttribute(HtmlTextWriterAttribute.Src,
Page.ClientScript.GetWebResourceUrl(this.GetType(),
@"Util.Ctrl.LanlHeaderFooter.xfooter-flap.gif"));
writer.RenderBeginTag(HtmlTextWriterTag.Img);writer.RenderEndTag();
The rendered page looks like:
<img
src="/WebResource.axd?d=nc8abQRgNFbYC__mtwu1dcoXXE1irMXnivUPeULPG9kycw8mvRhETkdzWWJBUFQLM6ts8qSJHbQp9HKu8QZBNA2&t=633277067943801753" id="img-inside" />
How can I prevent this error message?
HTTPS request IE complains about having secure and nonsecure items.
The code is:
protected override void RenderContents(HtmlTextWriter writer)
writer.AddAttribute(HtmlTextWriterAttribute.Src,
Page.ClientScript.GetWebResourceUrl(this.GetType(),
@"Util.Ctrl.LanlHeaderFooter.xfooter-flap.gif"));
writer.RenderBeginTag(HtmlTextWriterTag.Img);writer.RenderEndTag();
The rendered page looks like:
<img
src="/WebResource.axd?d=nc8abQRgNFbYC__mtwu1dcoXXE1irMXnivUPeULPG9kycw8mvRhETkdzWWJBUFQLM6ts8qSJHbQp9HKu8QZBNA2&t=633277067943801753" id="img-inside" />
How can I prevent this error message?