Professional Web Applications Themes

Hyperlink w/ImageUrl bug? - ASP.NET General

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, ...

  1. #1

    Default Hyperlink w/ImageUrl bug?

    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 Guest

  2. #2

    Default RE: Hyperlink w/ImageUrl bug?

    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! - [url]www.microsoft.com/security[/url]
    This posting is provided "AS IS" with no warranties, and confers no rights.

    --------------------
    !From: "Leigh Kendall" <lkendallmsdnnewsgroups.com>
    !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: <O5lMByfVDHA.1072TK2MSFTNGP12.phx.gbl>
    !Newsgroups: microsoft.public.dotnet.framework.aspnet
    !NNTP-Posting-Host: 159.247.3.210
    !Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP12.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] Guest

  3. #3

    Default Re: Hyperlink w/ImageUrl bug?

    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! - [url]www.microsoft.com/security[/url]
    This posting is provided "AS IS" with no warranties, and confers no rights.

    --------------------
    !From: "Leigh Kendall" <lkendallmsdnnewsgroups.com>
    !References: <O5lMByfVDHA.1072TK2MSFTNGP12.phx.gbl> <BrIHeDzVDHA.2000cpmsftngxa06.phx.gbl>
    !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;
    ! cht="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: <O3d3gf3VDHA.2260TK2MSFTNGP09.phx.gbl>
    !Newsgroups: microsoft.public.dotnet.framework.aspnet
    !NNTP-Posting-Host: 159.247.3.210
    !Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP09.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]" <yhhuangonline.microsoft.com> wrote in message
    !news:BrIHeDzVDHA.2000cpmsftngxa06.phx.gbl...
    !> 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! - [url]www.microsoft.com/security[/url]
    !> This posting is provided "AS IS" with no warranties, and confers no
    !rights.
    !>
    !> --------------------
    !> !From: "Leigh Kendall" <lkendallmsdnnewsgroups.com>
    !> !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: <O5lMByfVDHA.1072TK2MSFTNGP12.phx.gbl>
    !> !Newsgroups: microsoft.public.dotnet.framework.aspnet
    !> !NNTP-Posting-Host: 159.247.3.210
    !> !Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP12.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] Guest

  4. #4

    Default Re: Hyperlink w/ImageUrl bug?

    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! - [url]www.microsoft.com/security[/url]
    This posting is provided "AS IS" with no warranties, and confers no rights.

    --------------------
    !From: "Leigh Kendall" <lkendallmsdnnewsgroups.com>
    !References: <O5lMByfVDHA.1072TK2MSFTNGP12.phx.gbl> <BrIHeDzVDHA.2000cpmsftngxa06.phx.gbl>
    !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;
    ! cht="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: <O3d3gf3VDHA.2260TK2MSFTNGP09.phx.gbl>
    !Newsgroups: microsoft.public.dotnet.framework.aspnet
    !NNTP-Posting-Host: 159.247.3.210
    !Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP09.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]" <yhhuangonline.microsoft.com> wrote in message
    !news:BrIHeDzVDHA.2000cpmsftngxa06.phx.gbl...
    !> 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! - [url]www.microsoft.com/security[/url]
    !> This posting is provided "AS IS" with no warranties, and confers no
    !rights.
    !>
    !> --------------------
    !> !From: "Leigh Kendall" <lkendallmsdnnewsgroups.com>
    !> !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: <O5lMByfVDHA.1072TK2MSFTNGP12.phx.gbl>
    !> !Newsgroups: microsoft.public.dotnet.framework.aspnet
    !> !NNTP-Posting-Host: 159.247.3.210
    !> !Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP12.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] Guest

  5. #5

    Default Re: Hyperlink w/ImageUrl bug?

    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]" <yhhuangonline.microsoft.com> wrote in message
    news:bPi$GymWDHA.2260cpmsftngxa06.phx.gbl...
    > 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! - [url]www.microsoft.com/security[/url]
    > This posting is provided "AS IS" with no warranties, and confers no
    rights.
    >
    > --------------------
    > !From: "Leigh Kendall" <lkendallmsdnnewsgroups.com>
    > !References: <O5lMByfVDHA.1072TK2MSFTNGP12.phx.gbl>
    <BrIHeDzVDHA.2000cpmsftngxa06.phx.gbl>
    > !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;
    > ! cht="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: <O3d3gf3VDHA.2260TK2MSFTNGP09.phx.gbl>
    > !Newsgroups: microsoft.public.dotnet.framework.aspnet
    > !NNTP-Posting-Host: 159.247.3.210
    > !Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP09.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]" <yhhuangonline.microsoft.com> wrote in message
    > !news:BrIHeDzVDHA.2000cpmsftngxa06.phx.gbl...
    > !> 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! - [url]www.microsoft.com/security[/url]
    > !> This posting is provided "AS IS" with no warranties, and confers no
    > !rights.
    > !>
    > !> --------------------
    > !> !From: "Leigh Kendall" <lkendallmsdnnewsgroups.com>
    > !> !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: <O5lMByfVDHA.1072TK2MSFTNGP12.phx.gbl>
    > !> !Newsgroups: microsoft.public.dotnet.framework.aspnet
    > !> !NNTP-Posting-Host: 159.247.3.210
    > !> !Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP12.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 Guest

  6. #6

    Default Re: Hyperlink w/ImageUrl bug?

    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! - [url]www.microsoft.com/security[/url]
    This posting is provided "AS IS" with no warranties, and confers no rights.

    --------------------
    !From: "Leigh Kendall" <lkendallmsdnnewsgroups.com>
    !References: <O5lMByfVDHA.1072TK2MSFTNGP12.phx.gbl> <BrIHeDzVDHA.2000cpmsftngxa06.phx.gbl>
    <O3d3gf3VDHA.2260TK2MSFTNGP09.phx.gbl> <bPi$GymWDHA.2260cpmsftngxa06.phx.gbl>
    !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;
    ! cht="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: <OaAjA5sWDHA.3444tk2msftngp13.phx.gbl>
    !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!tk2msftn gp13.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]" <yhhuangonline.microsoft.com> wrote in message
    !news:bPi$GymWDHA.2260cpmsftngxa06.phx.gbl...
    !> 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! - [url]www.microsoft.com/security[/url]
    !> This posting is provided "AS IS" with no warranties, and confers no
    !rights.
    !>
    !> --------------------
    !> !From: "Leigh Kendall" <lkendallmsdnnewsgroups.com>
    !> !References: <O5lMByfVDHA.1072TK2MSFTNGP12.phx.gbl>
    !<BrIHeDzVDHA.2000cpmsftngxa06.phx.gbl>
    !> !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;
    !> ! cht="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: <O3d3gf3VDHA.2260TK2MSFTNGP09.phx.gbl>
    !> !Newsgroups: microsoft.public.dotnet.framework.aspnet
    !> !NNTP-Posting-Host: 159.247.3.210
    !> !Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP09.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]" <yhhuangonline.microsoft.com> wrote in message
    !> !news:BrIHeDzVDHA.2000cpmsftngxa06.phx.gbl...
    !> !> 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! - [url]www.microsoft.com/security[/url]
    !> !> This posting is provided "AS IS" with no warranties, and confers no
    !> !rights.
    !> !>
    !> !> --------------------
    !> !> !From: "Leigh Kendall" <lkendallmsdnnewsgroups.com>
    !> !> !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: <O5lMByfVDHA.1072TK2MSFTNGP12.phx.gbl>
    !> !> !Newsgroups: microsoft.public.dotnet.framework.aspnet
    !> !> !NNTP-Posting-Host: 159.247.3.210
    !> !> !Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP12.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] Guest

  7. #7

    Default Re: Hyperlink w/ImageUrl bug?

    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.


    -------------------- 
    <phx.gbl>
    <phx.gbl>
    <bPi$phx.gbl> 
    > the right of the image, I could access the link now. [/ref]
    know 
    > rights. 
    > <phx.gbl> 
    > microsoft.public.dotnet.framework.aspnet:163801 
    > seems 
    > versions [/ref]
    and [/ref]
    alt="TestHyperLinkControl" 
    > following 
    > property. 
    > usual 
    > must 
    >
    >[/ref]

    Mike Guest

  8. #8

    Default Re: Hyperlink w/ImageUrl bug?

    Yes, I'm still monitoring this thread.

    Thanks for the update...

    --
    Leigh Kendall, MCSD, MCDBA

    ""Mike Moore [MSFT]"" <microsoft.com> wrote in message
    news:evs$phx.gbl... 
    error. 
    error. 
    rights. 
    > <phx.gbl>
    > <phx.gbl>
    > <bPi$phx.gbl> [/ref]
    microsoft.public.dotnet.framework.aspnet:164774 [/ref]
    were [/ref][/ref]
    to [/ref]
    > know 
    > > rights. 
    > > <phx.gbl> 
    > > microsoft.public.dotnet.framework.aspnet:163801 [/ref][/ref]
    image 
    > > seems 
    > > versions [/ref]
    > and [/ref][/ref]
    message [/ref][/ref]
    LEFT: [/ref]
    > alt="TestHyperLinkControl" [/ref][/ref]
    couldn't [/ref][/ref]
    cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP12.phx.gbl 
    > > following 
    > > property. 
    > > usual [/ref][/ref]
    they 
    > >
    > >[/ref]
    >[/ref]

    Leigh Guest

  9. #9

    Default RE: Hyperlink w/ImageUrl bug?

    Please add the custom attribute:

    onclick="javascript:doent.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 Guest

Similar Threads

  1. Changing the width/height when using Hyperlink.ImageUrl
    By Nathan Sokalski in forum ASP.NET Building Controls
    Replies: 1
    Last Post: October 10th, 10:36 PM
  2. assigning ImageURL value of asp:image tag from DataReader
    By Brandon Taylor in forum Dreamweaver AppDev
    Replies: 2
    Last Post: May 20th, 02:57 AM
  3. Replies: 2
    Last Post: April 29th, 05:16 PM
  4. Design time relative URLS like ImageURL
    By Justin Weinberg in forum ASP.NET Building Controls
    Replies: 2
    Last Post: November 10th, 10:08 AM
  5. Dynamically Hyperlink and Event Handler for the Hyperlink ?
    By Ken in forum ASP.NET Data Grid Control
    Replies: 1
    Last Post: August 15th, 11:38 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139