Hyperlink w/ImageUrl bug?

Discussion in 'ASP .Net' started by Leigh Kendall, Jul 29, 2003.

  1. I can't find any issue in the MS KB, but I'm experiencing the following problem which seems to be specific to IE5, and NOT any other version of IE 5.5+ or NN 6+.

    Issue:
    I'm using an asp.net hyperlink control and setting the imageurl property. It seems that when the img tag is rendered in the hyperlink (<a>) tag, the img tag is closed with a /> instead of the usual > tag. Because of this, when the hyperlink is clicked in IE5, the hyperlink doesn't respond.

    Anyone else experience this? Any solution besides telling users they must upgrade?

    TIA,

    --
    Leigh Kendall, MCSD, MCDBA
    Leigh Kendall, Jul 29, 2003
    #1
    1. Advertising

  2. Hello Leigh,

    I just did a quick test on IE 5.0 and 6.0. The IE 5.0 version is 5.00.3502.1000.

    Firstly, the code rendered is:

    <FORM id="aaa">
    <a id="HyperLink1" style="height:115px;width:83px;Z-INDEX: 103; LEFT: 147px; POSITION:
    absolute; TOP: 191px"><img src="people.jpg" alt="TestHyperLinkControl" border="0" /></a></FORM>

    The image could be shown correctly both in IE 6.0 and 5.0. I couldn't reproduce the problem.

    Could you please paste your rendered code here? Thanks.

    Best regards,
    Yanhong Huang
    Microsoft Online Partner Support

    Get Secure! - www.microsoft.com/security
    This posting is provided "AS IS" with no warranties, and confers no rights.

    --------------------
    !From: "Leigh Kendall" <>
    !Subject: Hyperlink w/ImageUrl bug?
    !Date: Tue, 29 Jul 2003 14:09:06 -0400
    !Lines: 65
    !MIME-Version: 1.0
    !Content-Type: multipart/alternative;
    ! boundary="----=_NextPart_000_000A_01C355DA.F8BF8B80"
    !X-Priority: 3
    !X-MSMail-Priority: Normal
    !X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
    !X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
    !Message-ID: <>
    !Newsgroups: microsoft.public.dotnet.framework.aspnet
    !NNTP-Posting-Host: 159.247.3.210
    !Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12.phx.gbl
    !Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:163069
    !X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
    !
    !I can't find any issue in the MS KB, but I'm experiencing the following problem which seems to be specific to IE5, and NOT
    any other version of IE 5.5+ or NN 6+.
    !Issue:
    !I'm using an asp.net hyperlink control and setting the imageurl property. It seems that when the img tag is rendered in the
    hyperlink (<a>) tag, the img tag is closed with a /> instead of the usual > tag. Because of this, when the hyperlink is clicked in
    IE5, the hyperlink doesn't respond.
    !Anyone else experience this? Any solution besides telling users they must upgrade?
    !TIA,
    !--
    !Leigh Kendall, MCSD, MCDBA
    !
    Yan-Hong Huang[MSFT], Jul 31, 2003
    #2
    1. Advertising

  3. Hello Leigh,

    I will test it and let you know the result as soon as possible. Thanks very much.

    Best regards,
    Yanhong Huang
    Microsoft Online Partner Support

    Get Secure! - www.microsoft.com/security
    This posting is provided "AS IS" with no warranties, and confers no rights.

    --------------------
    !From: "Leigh Kendall" <>
    !References: <> <>
    !Subject: Re: Hyperlink w/ImageUrl bug?
    !Date: Thu, 31 Jul 2003 11:24:45 -0400
    !Lines: 79
    !MIME-Version: 1.0
    !Content-Type: text/plain;
    ! charset="iso-8859-1"
    !Content-Transfer-Encoding: 7bit
    !X-Priority: 3
    !X-MSMail-Priority: Normal
    !X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
    !X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
    !Message-ID: <>
    !Newsgroups: microsoft.public.dotnet.framework.aspnet
    !NNTP-Posting-Host: 159.247.3.210
    !Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gbl
    !Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:163801
    !X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
    !
    !I could get the image to render correctly.
    !
    !The problem I'm experiencing on IE5 is that the hyperlink WITH an image
    !(ImageUrl property set) doesn't do anything when you click on it. It seems
    !that this issue is isolated to IE5 as I cannot recreate it on other versions
    !of IE. Netscape 6.x doesn't have an issue with it either.
    !
    !The only way I could get the link to respond is by right-clicking it and
    !selecting Open.
    !
    !Leigh
    !
    !
    !"Yan-Hong Huang[MSFT]" <> wrote in message
    !news:...
    !> Hello Leigh,
    !>
    !> I just did a quick test on IE 5.0 and 6.0. The IE 5.0 version is
    !5.00.3502.1000.
    !>
    !> Firstly, the code rendered is:
    !>
    !> <FORM id="aaa">
    !> <a id="HyperLink1" style="height:115px;width:83px;Z-INDEX: 103; LEFT:
    !147px; POSITION:
    !> absolute; TOP: 191px"><img src="people.jpg" alt="TestHyperLinkControl"
    !border="0" /></a></FORM>
    !>
    !> The image could be shown correctly both in IE 6.0 and 5.0. I couldn't
    !reproduce the problem.
    !>
    !> Could you please paste your rendered code here? Thanks.
    !>
    !> Best regards,
    !> Yanhong Huang
    !> Microsoft Online Partner Support
    !>
    !> Get Secure! - www.microsoft.com/security
    !> This posting is provided "AS IS" with no warranties, and confers no
    !rights.
    !>
    !> --------------------
    !> !From: "Leigh Kendall" <>
    !> !Subject: Hyperlink w/ImageUrl bug?
    !> !Date: Tue, 29 Jul 2003 14:09:06 -0400
    !> !Lines: 65
    !> !MIME-Version: 1.0
    !> !Content-Type: multipart/alternative;
    !> ! boundary="----=_NextPart_000_000A_01C355DA.F8BF8B80"
    !> !X-Priority: 3
    !> !X-MSMail-Priority: Normal
    !> !X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
    !> !X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
    !> !Message-ID: <>
    !> !Newsgroups: microsoft.public.dotnet.framework.aspnet
    !> !NNTP-Posting-Host: 159.247.3.210
    !> !Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12.phx.gbl
    !> !Xref: cpmsftngxa06.phx.gbl
    !microsoft.public.dotnet.framework.aspnet:163069
    !> !X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
    !> !
    !> !I can't find any issue in the MS KB, but I'm experiencing the following
    !problem which seems to be specific to IE5, and NOT
    !> any other version of IE 5.5+ or NN 6+.
    !> !Issue:
    !> !I'm using an asp.net hyperlink control and setting the imageurl property.
    !It seems that when the img tag is rendered in the
    !> hyperlink (<a>) tag, the img tag is closed with a /> instead of the usual
    !> tag. Because of this, when the hyperlink is clicked in
    !> IE5, the hyperlink doesn't respond.
    !> !Anyone else experience this? Any solution besides telling users they must
    !upgrade?
    !> !TIA,
    !> !--
    !> !Leigh Kendall, MCSD, MCDBA
    !> !
    !>
    !>
    !
    !
    Yan-Hong Huang[MSFT], Aug 1, 2003
    #3
  4. Hello Leigh,

    I just tested it on IE 5.

    The problem that I observed is that:
    When I clicked the image, nothing happens. But when I move the mouse to the right of the image, I could access the link now.

    It seems that the link is independant of the image now. Please let me know if it is what you got. If confirmed, I will contact our
    product group to dig into it. Thanks very much.

    Best regards,
    Yanhong Huang
    Microsoft Online Partner Support

    Get Secure! - www.microsoft.com/security
    This posting is provided "AS IS" with no warranties, and confers no rights.

    --------------------
    !From: "Leigh Kendall" <>
    !References: <> <>
    !Subject: Re: Hyperlink w/ImageUrl bug?
    !Date: Thu, 31 Jul 2003 11:24:45 -0400
    !Lines: 79
    !MIME-Version: 1.0
    !Content-Type: text/plain;
    ! charset="iso-8859-1"
    !Content-Transfer-Encoding: 7bit
    !X-Priority: 3
    !X-MSMail-Priority: Normal
    !X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
    !X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
    !Message-ID: <>
    !Newsgroups: microsoft.public.dotnet.framework.aspnet
    !NNTP-Posting-Host: 159.247.3.210
    !Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gbl
    !Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:163801
    !X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
    !
    !I could get the image to render correctly.
    !
    !The problem I'm experiencing on IE5 is that the hyperlink WITH an image
    !(ImageUrl property set) doesn't do anything when you click on it. It seems
    !that this issue is isolated to IE5 as I cannot recreate it on other versions
    !of IE. Netscape 6.x doesn't have an issue with it either.
    !
    !The only way I could get the link to respond is by right-clicking it and
    !selecting Open.
    !
    !Leigh
    !
    !
    !"Yan-Hong Huang[MSFT]" <> wrote in message
    !news:...
    !> Hello Leigh,
    !>
    !> I just did a quick test on IE 5.0 and 6.0. The IE 5.0 version is
    !5.00.3502.1000.
    !>
    !> Firstly, the code rendered is:
    !>
    !> <FORM id="aaa">
    !> <a id="HyperLink1" style="height:115px;width:83px;Z-INDEX: 103; LEFT:
    !147px; POSITION:
    !> absolute; TOP: 191px"><img src="people.jpg" alt="TestHyperLinkControl"
    !border="0" /></a></FORM>
    !>
    !> The image could be shown correctly both in IE 6.0 and 5.0. I couldn't
    !reproduce the problem.
    !>
    !> Could you please paste your rendered code here? Thanks.
    !>
    !> Best regards,
    !> Yanhong Huang
    !> Microsoft Online Partner Support
    !>
    !> Get Secure! - www.microsoft.com/security
    !> This posting is provided "AS IS" with no warranties, and confers no
    !rights.
    !>
    !> --------------------
    !> !From: "Leigh Kendall" <>
    !> !Subject: Hyperlink w/ImageUrl bug?
    !> !Date: Tue, 29 Jul 2003 14:09:06 -0400
    !> !Lines: 65
    !> !MIME-Version: 1.0
    !> !Content-Type: multipart/alternative;
    !> ! boundary="----=_NextPart_000_000A_01C355DA.F8BF8B80"
    !> !X-Priority: 3
    !> !X-MSMail-Priority: Normal
    !> !X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
    !> !X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
    !> !Message-ID: <>
    !> !Newsgroups: microsoft.public.dotnet.framework.aspnet
    !> !NNTP-Posting-Host: 159.247.3.210
    !> !Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12.phx.gbl
    !> !Xref: cpmsftngxa06.phx.gbl
    !microsoft.public.dotnet.framework.aspnet:163069
    !> !X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
    !> !
    !> !I can't find any issue in the MS KB, but I'm experiencing the following
    !problem which seems to be specific to IE5, and NOT
    !> any other version of IE 5.5+ or NN 6+.
    !> !Issue:
    !> !I'm using an asp.net hyperlink control and setting the imageurl property.
    !It seems that when the img tag is rendered in the
    !> hyperlink (<a>) tag, the img tag is closed with a /> instead of the usual
    !> tag. Because of this, when the hyperlink is clicked in
    !> IE5, the hyperlink doesn't respond.
    !> !Anyone else experience this? Any solution besides telling users they must
    !upgrade?
    !> !TIA,
    !> !--
    !> !Leigh Kendall, MCSD, MCDBA
    !> !
    !>
    !>
    !
    !
    Yan-Hong Huang[MSFT], Aug 4, 2003
    #4
  5. Yes, this is the same problem we have run into. I'm relieved that you were
    able to recreate it.

    Hopefully, there is a quick workaround? Thanks!

    Leigh

    "Yan-Hong Huang[MSFT]" <> wrote in message
    news:bPi$...
    > Hello Leigh,
    >
    > I just tested it on IE 5.
    >
    > The problem that I observed is that:
    > When I clicked the image, nothing happens. But when I move the mouse to

    the right of the image, I could access the link now.
    >
    > It seems that the link is independant of the image now. Please let me know

    if it is what you got. If confirmed, I will contact our
    > product group to dig into it. Thanks very much.
    >
    > Best regards,
    > Yanhong Huang
    > Microsoft Online Partner Support
    >
    > Get Secure! - www.microsoft.com/security
    > This posting is provided "AS IS" with no warranties, and confers no

    rights.
    >
    > --------------------
    > !From: "Leigh Kendall" <>
    > !References: <>

    <>
    > !Subject: Re: Hyperlink w/ImageUrl bug?
    > !Date: Thu, 31 Jul 2003 11:24:45 -0400
    > !Lines: 79
    > !MIME-Version: 1.0
    > !Content-Type: text/plain;
    > ! charset="iso-8859-1"
    > !Content-Transfer-Encoding: 7bit
    > !X-Priority: 3
    > !X-MSMail-Priority: Normal
    > !X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
    > !X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
    > !Message-ID: <>
    > !Newsgroups: microsoft.public.dotnet.framework.aspnet
    > !NNTP-Posting-Host: 159.247.3.210
    > !Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gbl
    > !Xref: cpmsftngxa06.phx.gbl

    microsoft.public.dotnet.framework.aspnet:163801
    > !X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
    > !
    > !I could get the image to render correctly.
    > !
    > !The problem I'm experiencing on IE5 is that the hyperlink WITH an image
    > !(ImageUrl property set) doesn't do anything when you click on it. It

    seems
    > !that this issue is isolated to IE5 as I cannot recreate it on other

    versions
    > !of IE. Netscape 6.x doesn't have an issue with it either.
    > !
    > !The only way I could get the link to respond is by right-clicking it and
    > !selecting Open.
    > !
    > !Leigh
    > !
    > !
    > !"Yan-Hong Huang[MSFT]" <> wrote in message
    > !news:...
    > !> Hello Leigh,
    > !>
    > !> I just did a quick test on IE 5.0 and 6.0. The IE 5.0 version is
    > !5.00.3502.1000.
    > !>
    > !> Firstly, the code rendered is:
    > !>
    > !> <FORM id="aaa">
    > !> <a id="HyperLink1" style="height:115px;width:83px;Z-INDEX: 103; LEFT:
    > !147px; POSITION:
    > !> absolute; TOP: 191px"><img src="people.jpg" alt="TestHyperLinkControl"
    > !border="0" /></a></FORM>
    > !>
    > !> The image could be shown correctly both in IE 6.0 and 5.0. I couldn't
    > !reproduce the problem.
    > !>
    > !> Could you please paste your rendered code here? Thanks.
    > !>
    > !> Best regards,
    > !> Yanhong Huang
    > !> Microsoft Online Partner Support
    > !>
    > !> Get Secure! - www.microsoft.com/security
    > !> This posting is provided "AS IS" with no warranties, and confers no
    > !rights.
    > !>
    > !> --------------------
    > !> !From: "Leigh Kendall" <>
    > !> !Subject: Hyperlink w/ImageUrl bug?
    > !> !Date: Tue, 29 Jul 2003 14:09:06 -0400
    > !> !Lines: 65
    > !> !MIME-Version: 1.0
    > !> !Content-Type: multipart/alternative;
    > !> ! boundary="----=_NextPart_000_000A_01C355DA.F8BF8B80"
    > !> !X-Priority: 3
    > !> !X-MSMail-Priority: Normal
    > !> !X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
    > !> !X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
    > !> !Message-ID: <>
    > !> !Newsgroups: microsoft.public.dotnet.framework.aspnet
    > !> !NNTP-Posting-Host: 159.247.3.210
    > !> !Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12.phx.gbl
    > !> !Xref: cpmsftngxa06.phx.gbl
    > !microsoft.public.dotnet.framework.aspnet:163069
    > !> !X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
    > !> !
    > !> !I can't find any issue in the MS KB, but I'm experiencing the

    following
    > !problem which seems to be specific to IE5, and NOT
    > !> any other version of IE 5.5+ or NN 6+.
    > !> !Issue:
    > !> !I'm using an asp.net hyperlink control and setting the imageurl

    property.
    > !It seems that when the img tag is rendered in the
    > !> hyperlink (<a>) tag, the img tag is closed with a /> instead of the

    usual
    > !> tag. Because of this, when the hyperlink is clicked in
    > !> IE5, the hyperlink doesn't respond.
    > !> !Anyone else experience this? Any solution besides telling users they

    must
    > !upgrade?
    > !> !TIA,
    > !> !--
    > !> !Leigh Kendall, MCSD, MCDBA
    > !> !
    > !>
    > !>
    > !
    > !
    >
    >
    Leigh Kendall, Aug 4, 2003
    #5
  6. Hello Leigh,

    Thanks for the quick response. Now I am working with product team on this issue. This may need some time. Please rest
    assure that we will do our best on it and reply you as soon as possible here.


    Best regards,
    Yanhong Huang
    Microsoft Online Partner Support

    Get Secure! - www.microsoft.com/security
    This posting is provided "AS IS" with no warranties, and confers no rights.

    --------------------
    !From: "Leigh Kendall" <>
    !References: <> <>
    <> <bPi$>
    !Subject: Re: Hyperlink w/ImageUrl bug?
    !Date: Mon, 4 Aug 2003 17:20:36 -0400
    !Lines: 141
    !MIME-Version: 1.0
    !Content-Type: text/plain;
    ! charset="iso-8859-1"
    !Content-Transfer-Encoding: 7bit
    !X-Priority: 3
    !X-MSMail-Priority: Normal
    !X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
    !X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
    !Message-ID: <>
    !Newsgroups: microsoft.public.dotnet.framework.aspnet
    !NNTP-Posting-Host: 103.126.252.64.snet.net 64.252.126.103
    !Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftngp13.phx.gbl
    !Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:164774
    !X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
    !
    !Yes, this is the same problem we have run into. I'm relieved that you were
    !able to recreate it.
    !
    !Hopefully, there is a quick workaround? Thanks!
    !
    !Leigh
    !
    !"Yan-Hong Huang[MSFT]" <> wrote in message
    !news:bPi$...
    !> Hello Leigh,
    !>
    !> I just tested it on IE 5.
    !>
    !> The problem that I observed is that:
    !> When I clicked the image, nothing happens. But when I move the mouse to
    !the right of the image, I could access the link now.
    !>
    !> It seems that the link is independant of the image now. Please let me know
    !if it is what you got. If confirmed, I will contact our
    !> product group to dig into it. Thanks very much.
    !>
    !> Best regards,
    !> Yanhong Huang
    !> Microsoft Online Partner Support
    !>
    !> Get Secure! - www.microsoft.com/security
    !> This posting is provided "AS IS" with no warranties, and confers no
    !rights.
    !>
    !> --------------------
    !> !From: "Leigh Kendall" <>
    !> !References: <>
    !<>
    !> !Subject: Re: Hyperlink w/ImageUrl bug?
    !> !Date: Thu, 31 Jul 2003 11:24:45 -0400
    !> !Lines: 79
    !> !MIME-Version: 1.0
    !> !Content-Type: text/plain;
    !> ! charset="iso-8859-1"
    !> !Content-Transfer-Encoding: 7bit
    !> !X-Priority: 3
    !> !X-MSMail-Priority: Normal
    !> !X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
    !> !X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
    !> !Message-ID: <>
    !> !Newsgroups: microsoft.public.dotnet.framework.aspnet
    !> !NNTP-Posting-Host: 159.247.3.210
    !> !Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gbl
    !> !Xref: cpmsftngxa06.phx.gbl
    !microsoft.public.dotnet.framework.aspnet:163801
    !> !X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
    !> !
    !> !I could get the image to render correctly.
    !> !
    !> !The problem I'm experiencing on IE5 is that the hyperlink WITH an image
    !> !(ImageUrl property set) doesn't do anything when you click on it. It
    !seems
    !> !that this issue is isolated to IE5 as I cannot recreate it on other
    !versions
    !> !of IE. Netscape 6.x doesn't have an issue with it either.
    !> !
    !> !The only way I could get the link to respond is by right-clicking it and
    !> !selecting Open.
    !> !
    !> !Leigh
    !> !
    !> !
    !> !"Yan-Hong Huang[MSFT]" <> wrote in message
    !> !news:...
    !> !> Hello Leigh,
    !> !>
    !> !> I just did a quick test on IE 5.0 and 6.0. The IE 5.0 version is
    !> !5.00.3502.1000.
    !> !>
    !> !> Firstly, the code rendered is:
    !> !>
    !> !> <FORM id="aaa">
    !> !> <a id="HyperLink1" style="height:115px;width:83px;Z-INDEX: 103; LEFT:
    !> !147px; POSITION:
    !> !> absolute; TOP: 191px"><img src="people.jpg" alt="TestHyperLinkControl"
    !> !border="0" /></a></FORM>
    !> !>
    !> !> The image could be shown correctly both in IE 6.0 and 5.0. I couldn't
    !> !reproduce the problem.
    !> !>
    !> !> Could you please paste your rendered code here? Thanks.
    !> !>
    !> !> Best regards,
    !> !> Yanhong Huang
    !> !> Microsoft Online Partner Support
    !> !>
    !> !> Get Secure! - www.microsoft.com/security
    !> !> This posting is provided "AS IS" with no warranties, and confers no
    !> !rights.
    !> !>
    !> !> --------------------
    !> !> !From: "Leigh Kendall" <>
    !> !> !Subject: Hyperlink w/ImageUrl bug?
    !> !> !Date: Tue, 29 Jul 2003 14:09:06 -0400
    !> !> !Lines: 65
    !> !> !MIME-Version: 1.0
    !> !> !Content-Type: multipart/alternative;
    !> !> ! boundary="----=_NextPart_000_000A_01C355DA.F8BF8B80"
    !> !> !X-Priority: 3
    !> !> !X-MSMail-Priority: Normal
    !> !> !X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
    !> !> !X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
    !> !> !Message-ID: <>
    !> !> !Newsgroups: microsoft.public.dotnet.framework.aspnet
    !> !> !NNTP-Posting-Host: 159.247.3.210
    !> !> !Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12.phx.gbl
    !> !> !Xref: cpmsftngxa06.phx.gbl
    !> !microsoft.public.dotnet.framework.aspnet:163069
    !> !> !X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
    !> !> !
    !> !> !I can't find any issue in the MS KB, but I'm experiencing the
    !following
    !> !problem which seems to be specific to IE5, and NOT
    !> !> any other version of IE 5.5+ or NN 6+.
    !> !> !Issue:
    !> !> !I'm using an asp.net hyperlink control and setting the imageurl
    !property.
    !> !It seems that when the img tag is rendered in the
    !> !> hyperlink (<a>) tag, the img tag is closed with a /> instead of the
    !usual
    !> !> tag. Because of this, when the hyperlink is clicked in
    !> !> IE5, the hyperlink doesn't respond.
    !> !> !Anyone else experience this? Any solution besides telling users they
    !must
    !> !upgrade?
    !> !> !TIA,
    !> !> !--
    !> !> !Leigh Kendall, MCSD, MCDBA
    !> !> !
    !> !>
    !> !>
    !> !
    !> !
    !>
    !>
    !
    !
    Yan-Hong Huang[MSFT], Aug 5, 2003
    #6
  7. Hi Leigh,

    I apologize for the long delay in responding to you. Yan-Hong escalated
    this issue and then it got forgotten. I sincerely apologize for this error.

    If you are still monitoring this thread, please repost and I will closely
    supervise a new escalation of this issue. I again apologize for this error.

    Thank you, Mike Moore
    Microsoft, ASP.NET

    This posting is provided "AS IS", with no warranties, and confers no rights.


    --------------------
    > From: "Leigh Kendall" <>
    > References: <>

    <>
    <>
    <bPi$>
    > Subject: Re: Hyperlink w/ImageUrl bug?
    > Date: Mon, 4 Aug 2003 17:20:36 -0400
    > Lines: 141
    > MIME-Version: 1.0
    > Content-Type: text/plain;
    > charset="iso-8859-1"
    > Content-Transfer-Encoding: 7bit
    > X-Priority: 3
    > X-MSMail-Priority: Normal
    > X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
    > X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
    > Message-ID: <>
    > Newsgroups: microsoft.public.dotnet.framework.aspnet
    > NNTP-Posting-Host: 103.126.252.64.snet.net 64.252.126.103
    > Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftngp13.phx.gbl
    > Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:164774
    > X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
    >
    > Yes, this is the same problem we have run into. I'm relieved that you were
    > able to recreate it.
    >
    > Hopefully, there is a quick workaround? Thanks!
    >
    > Leigh
    >
    > "Yan-Hong Huang[MSFT]" <> wrote in message
    > news:bPi$...
    > > Hello Leigh,
    > >
    > > I just tested it on IE 5.
    > >
    > > The problem that I observed is that:
    > > When I clicked the image, nothing happens. But when I move the mouse to

    > the right of the image, I could access the link now.
    > >
    > > It seems that the link is independant of the image now. Please let me

    know
    > if it is what you got. If confirmed, I will contact our
    > > product group to dig into it. Thanks very much.
    > >
    > > Best regards,
    > > Yanhong Huang
    > > Microsoft Online Partner Support
    > >
    > > Get Secure! - www.microsoft.com/security
    > > This posting is provided "AS IS" with no warranties, and confers no

    > rights.
    > >
    > > --------------------
    > > !From: "Leigh Kendall" <>
    > > !References: <>

    > <>
    > > !Subject: Re: Hyperlink w/ImageUrl bug?
    > > !Date: Thu, 31 Jul 2003 11:24:45 -0400
    > > !Lines: 79
    > > !MIME-Version: 1.0
    > > !Content-Type: text/plain;
    > > ! charset="iso-8859-1"
    > > !Content-Transfer-Encoding: 7bit
    > > !X-Priority: 3
    > > !X-MSMail-Priority: Normal
    > > !X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
    > > !X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
    > > !Message-ID: <>
    > > !Newsgroups: microsoft.public.dotnet.framework.aspnet
    > > !NNTP-Posting-Host: 159.247.3.210
    > > !Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gbl
    > > !Xref: cpmsftngxa06.phx.gbl

    > microsoft.public.dotnet.framework.aspnet:163801
    > > !X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
    > > !
    > > !I could get the image to render correctly.
    > > !
    > > !The problem I'm experiencing on IE5 is that the hyperlink WITH an image
    > > !(ImageUrl property set) doesn't do anything when you click on it. It

    > seems
    > > !that this issue is isolated to IE5 as I cannot recreate it on other

    > versions
    > > !of IE. Netscape 6.x doesn't have an issue with it either.
    > > !
    > > !The only way I could get the link to respond is by right-clicking it

    and
    > > !selecting Open.
    > > !
    > > !Leigh
    > > !
    > > !
    > > !"Yan-Hong Huang[MSFT]" <> wrote in message
    > > !news:...
    > > !> Hello Leigh,
    > > !>
    > > !> I just did a quick test on IE 5.0 and 6.0. The IE 5.0 version is
    > > !5.00.3502.1000.
    > > !>
    > > !> Firstly, the code rendered is:
    > > !>
    > > !> <FORM id="aaa">
    > > !> <a id="HyperLink1" style="height:115px;width:83px;Z-INDEX: 103; LEFT:
    > > !147px; POSITION:
    > > !> absolute; TOP: 191px"><img src="people.jpg"

    alt="TestHyperLinkControl"
    > > !border="0" /></a></FORM>
    > > !>
    > > !> The image could be shown correctly both in IE 6.0 and 5.0. I couldn't
    > > !reproduce the problem.
    > > !>
    > > !> Could you please paste your rendered code here? Thanks.
    > > !>
    > > !> Best regards,
    > > !> Yanhong Huang
    > > !> Microsoft Online Partner Support
    > > !>
    > > !> Get Secure! - www.microsoft.com/security
    > > !> This posting is provided "AS IS" with no warranties, and confers no
    > > !rights.
    > > !>
    > > !> --------------------
    > > !> !From: "Leigh Kendall" <>
    > > !> !Subject: Hyperlink w/ImageUrl bug?
    > > !> !Date: Tue, 29 Jul 2003 14:09:06 -0400
    > > !> !Lines: 65
    > > !> !MIME-Version: 1.0
    > > !> !Content-Type: multipart/alternative;
    > > !> ! boundary="----=_NextPart_000_000A_01C355DA.F8BF8B80"
    > > !> !X-Priority: 3
    > > !> !X-MSMail-Priority: Normal
    > > !> !X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
    > > !> !X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
    > > !> !Message-ID: <>
    > > !> !Newsgroups: microsoft.public.dotnet.framework.aspnet
    > > !> !NNTP-Posting-Host: 159.247.3.210
    > > !> !Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12.phx.gbl
    > > !> !Xref: cpmsftngxa06.phx.gbl
    > > !microsoft.public.dotnet.framework.aspnet:163069
    > > !> !X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
    > > !> !
    > > !> !I can't find any issue in the MS KB, but I'm experiencing the

    > following
    > > !problem which seems to be specific to IE5, and NOT
    > > !> any other version of IE 5.5+ or NN 6+.
    > > !> !Issue:
    > > !> !I'm using an asp.net hyperlink control and setting the imageurl

    > property.
    > > !It seems that when the img tag is rendered in the
    > > !> hyperlink (<a>) tag, the img tag is closed with a /> instead of the

    > usual
    > > !> tag. Because of this, when the hyperlink is clicked in
    > > !> IE5, the hyperlink doesn't respond.
    > > !> !Anyone else experience this? Any solution besides telling users they

    > must
    > > !upgrade?
    > > !> !TIA,
    > > !> !--
    > > !> !Leigh Kendall, MCSD, MCDBA
    > > !> !
    > > !>
    > > !>
    > > !
    > > !
    > >
    > >

    >
    >
    Mike Moore [MSFT], Aug 13, 2003
    #7
  8. Yes, I'm still monitoring this thread.

    Thanks for the update...

    --
    Leigh Kendall, MCSD, MCDBA

    ""Mike Moore [MSFT]"" <> wrote in message
    news:evs$...
    > Hi Leigh,
    >
    > I apologize for the long delay in responding to you. Yan-Hong escalated
    > this issue and then it got forgotten. I sincerely apologize for this

    error.
    >
    > If you are still monitoring this thread, please repost and I will closely
    > supervise a new escalation of this issue. I again apologize for this

    error.
    >
    > Thank you, Mike Moore
    > Microsoft, ASP.NET
    >
    > This posting is provided "AS IS", with no warranties, and confers no

    rights.
    >
    >
    > --------------------
    > > From: "Leigh Kendall" <>
    > > References: <>

    > <>
    > <>
    > <bPi$>
    > > Subject: Re: Hyperlink w/ImageUrl bug?
    > > Date: Mon, 4 Aug 2003 17:20:36 -0400
    > > Lines: 141
    > > MIME-Version: 1.0
    > > Content-Type: text/plain;
    > > charset="iso-8859-1"
    > > Content-Transfer-Encoding: 7bit
    > > X-Priority: 3
    > > X-MSMail-Priority: Normal
    > > X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
    > > X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
    > > Message-ID: <>
    > > Newsgroups: microsoft.public.dotnet.framework.aspnet
    > > NNTP-Posting-Host: 103.126.252.64.snet.net 64.252.126.103
    > > Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftngp13.phx.gbl
    > > Xref: cpmsftngxa06.phx.gbl

    microsoft.public.dotnet.framework.aspnet:164774
    > > X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
    > >
    > > Yes, this is the same problem we have run into. I'm relieved that you

    were
    > > able to recreate it.
    > >
    > > Hopefully, there is a quick workaround? Thanks!
    > >
    > > Leigh
    > >
    > > "Yan-Hong Huang[MSFT]" <> wrote in message
    > > news:bPi$...
    > > > Hello Leigh,
    > > >
    > > > I just tested it on IE 5.
    > > >
    > > > The problem that I observed is that:
    > > > When I clicked the image, nothing happens. But when I move the mouse

    to
    > > the right of the image, I could access the link now.
    > > >
    > > > It seems that the link is independant of the image now. Please let me

    > know
    > > if it is what you got. If confirmed, I will contact our
    > > > product group to dig into it. Thanks very much.
    > > >
    > > > Best regards,
    > > > Yanhong Huang
    > > > Microsoft Online Partner Support
    > > >
    > > > Get Secure! - www.microsoft.com/security
    > > > This posting is provided "AS IS" with no warranties, and confers no

    > > rights.
    > > >
    > > > --------------------
    > > > !From: "Leigh Kendall" <>
    > > > !References: <>

    > > <>
    > > > !Subject: Re: Hyperlink w/ImageUrl bug?
    > > > !Date: Thu, 31 Jul 2003 11:24:45 -0400
    > > > !Lines: 79
    > > > !MIME-Version: 1.0
    > > > !Content-Type: text/plain;
    > > > ! charset="iso-8859-1"
    > > > !Content-Transfer-Encoding: 7bit
    > > > !X-Priority: 3
    > > > !X-MSMail-Priority: Normal
    > > > !X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
    > > > !X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
    > > > !Message-ID: <>
    > > > !Newsgroups: microsoft.public.dotnet.framework.aspnet
    > > > !NNTP-Posting-Host: 159.247.3.210
    > > > !Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gbl
    > > > !Xref: cpmsftngxa06.phx.gbl

    > > microsoft.public.dotnet.framework.aspnet:163801
    > > > !X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
    > > > !
    > > > !I could get the image to render correctly.
    > > > !
    > > > !The problem I'm experiencing on IE5 is that the hyperlink WITH an

    image
    > > > !(ImageUrl property set) doesn't do anything when you click on it. It

    > > seems
    > > > !that this issue is isolated to IE5 as I cannot recreate it on other

    > > versions
    > > > !of IE. Netscape 6.x doesn't have an issue with it either.
    > > > !
    > > > !The only way I could get the link to respond is by right-clicking it

    > and
    > > > !selecting Open.
    > > > !
    > > > !Leigh
    > > > !
    > > > !
    > > > !"Yan-Hong Huang[MSFT]" <> wrote in

    message
    > > > !news:...
    > > > !> Hello Leigh,
    > > > !>
    > > > !> I just did a quick test on IE 5.0 and 6.0. The IE 5.0 version is
    > > > !5.00.3502.1000.
    > > > !>
    > > > !> Firstly, the code rendered is:
    > > > !>
    > > > !> <FORM id="aaa">
    > > > !> <a id="HyperLink1" style="height:115px;width:83px;Z-INDEX: 103;

    LEFT:
    > > > !147px; POSITION:
    > > > !> absolute; TOP: 191px"><img src="people.jpg"

    > alt="TestHyperLinkControl"
    > > > !border="0" /></a></FORM>
    > > > !>
    > > > !> The image could be shown correctly both in IE 6.0 and 5.0. I

    couldn't
    > > > !reproduce the problem.
    > > > !>
    > > > !> Could you please paste your rendered code here? Thanks.
    > > > !>
    > > > !> Best regards,
    > > > !> Yanhong Huang
    > > > !> Microsoft Online Partner Support
    > > > !>
    > > > !> Get Secure! - www.microsoft.com/security
    > > > !> This posting is provided "AS IS" with no warranties, and confers no
    > > > !rights.
    > > > !>
    > > > !> --------------------
    > > > !> !From: "Leigh Kendall" <>
    > > > !> !Subject: Hyperlink w/ImageUrl bug?
    > > > !> !Date: Tue, 29 Jul 2003 14:09:06 -0400
    > > > !> !Lines: 65
    > > > !> !MIME-Version: 1.0
    > > > !> !Content-Type: multipart/alternative;
    > > > !> ! boundary="----=_NextPart_000_000A_01C355DA.F8BF8B80"
    > > > !> !X-Priority: 3
    > > > !> !X-MSMail-Priority: Normal
    > > > !> !X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
    > > > !> !X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
    > > > !> !Message-ID: <>
    > > > !> !Newsgroups: microsoft.public.dotnet.framework.aspnet
    > > > !> !NNTP-Posting-Host: 159.247.3.210
    > > > !> !Path:

    cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12.phx.gbl
    > > > !> !Xref: cpmsftngxa06.phx.gbl
    > > > !microsoft.public.dotnet.framework.aspnet:163069
    > > > !> !X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
    > > > !> !
    > > > !> !I can't find any issue in the MS KB, but I'm experiencing the

    > > following
    > > > !problem which seems to be specific to IE5, and NOT
    > > > !> any other version of IE 5.5+ or NN 6+.
    > > > !> !Issue:
    > > > !> !I'm using an asp.net hyperlink control and setting the imageurl

    > > property.
    > > > !It seems that when the img tag is rendered in the
    > > > !> hyperlink (<a>) tag, the img tag is closed with a /> instead of the

    > > usual
    > > > !> tag. Because of this, when the hyperlink is clicked in
    > > > !> IE5, the hyperlink doesn't respond.
    > > > !> !Anyone else experience this? Any solution besides telling users

    they
    > > must
    > > > !upgrade?
    > > > !> !TIA,
    > > > !> !--
    > > > !> !Leigh Kendall, MCSD, MCDBA
    > > > !> !
    > > > !>
    > > > !>
    > > > !
    > > > !
    > > >
    > > >

    > >
    > >

    >
    Leigh Kendall, Aug 15, 2003
    #8
  9. Please add the custom attribute:

    onclick="javascript:document.URL = this.href;"

    to the Hyperlink Control. This should work around the issue.
    Please let me know if you have any questions.

    Thank you, John Soulis
    Microsoft, ASP.NET

    This posting is provided "AS IS", with no warranties, and confers no rights.
    John Soulis [MSFT], Aug 19, 2003
    #9
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Christian Pické
    Replies:
    0
    Views:
    391
    Christian Pické
    Nov 6, 2003
  2. tshad
    Replies:
    1
    Views:
    2,960
    tshad
    Mar 31, 2005
  3. James T.

    Hyperlink ImageUrl

    James T., Apr 26, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    2,042
    Craig Deelsnyder
    Apr 26, 2005
  4. Nathan Sokalski
    Replies:
    4
    Views:
    10,529
    nazanim2000
    Jun 2, 2010
  5. Nick Gilbert
    Replies:
    1
    Views:
    541
    Nick Gilbert
    Feb 28, 2006
Loading...

Share This Page