Hyperlink w/ImageUrl bug?

Ask a Question related to ASP.NET General, Design and Development.

  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. Similar Questions and Discussions

    1. Changing the width/height when using Hyperlink.ImageUrl
      I am using the ImageUrl property of the Hyperlink control to create a graphical Hyperlink. However, I want to change the size of the image I am...
    2. assigning ImageURL value of asp:image tag from DataReader
      Hello all, I'm using VB.NET, Access I have 20 images on a page, which are within nested tables. The images create a property map for a...
    3. Changing ImageURL of Image Button which is added in template column of datagrid
      hello, I have a template column in my datagrid. To the header of template colum, i have added imagebutton. On click of the imagebutton , i...
    4. Design time relative URLS like ImageURL
      I've googled and saw this question posted a lot, and saw an answer that involved using EnvDTE, but I suspect there must be an easier way. If I...
    5. Dynamically Hyperlink and Event Handler for the Hyperlink ?
      Hi, I´m creating an Hyperlink dynamically for my DataGrid: HyperLink hl = new HyperLink(); hl.Text = "MyLink"; hl.NavigateUrl = "#";...
  3. #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" <lkendall@msdnnewsgroups.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.1072@TK2MSFTNGP12.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. #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" <lkendall@msdnnewsgroups.com>
    !References: <O5lMByfVDHA.1072@TK2MSFTNGP12.phx.gbl> <BrIHeDzVDHA.2000@cpmsftngxa06.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;
    ! 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: <O3d3gf3VDHA.2260@TK2MSFTNGP09.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]" <yhhuang@online.microsoft.com> wrote in message
    !news:BrIHeDzVDHA.2000@cpmsftngxa06.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" <lkendall@msdnnewsgroups.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.1072@TK2MSFTNGP12.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. #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" <lkendall@msdnnewsgroups.com>
    !References: <O5lMByfVDHA.1072@TK2MSFTNGP12.phx.gbl> <BrIHeDzVDHA.2000@cpmsftngxa06.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;
    ! 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: <O3d3gf3VDHA.2260@TK2MSFTNGP09.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]" <yhhuang@online.microsoft.com> wrote in message
    !news:BrIHeDzVDHA.2000@cpmsftngxa06.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" <lkendall@msdnnewsgroups.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.1072@TK2MSFTNGP12.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

  6. #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]" <yhhuang@online.microsoft.com> wrote in message
    news:bPi$GymWDHA.2260@cpmsftngxa06.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" <lkendall@msdnnewsgroups.com>
    > !References: <O5lMByfVDHA.1072@TK2MSFTNGP12.phx.gbl>
    <BrIHeDzVDHA.2000@cpmsftngxa06.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;
    > ! 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: <O3d3gf3VDHA.2260@TK2MSFTNGP09.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]" <yhhuang@online.microsoft.com> wrote in message
    > !news:BrIHeDzVDHA.2000@cpmsftngxa06.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" <lkendall@msdnnewsgroups.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.1072@TK2MSFTNGP12.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

  7. #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" <lkendall@msdnnewsgroups.com>
    !References: <O5lMByfVDHA.1072@TK2MSFTNGP12.phx.gbl> <BrIHeDzVDHA.2000@cpmsftngxa06.phx.gbl>
    <O3d3gf3VDHA.2260@TK2MSFTNGP09.phx.gbl> <bPi$GymWDHA.2260@cpmsftngxa06.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;
    ! 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: <OaAjA5sWDHA.3444@tk2msftngp13.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]" <yhhuang@online.microsoft.com> wrote in message
    !news:bPi$GymWDHA.2260@cpmsftngxa06.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" <lkendall@msdnnewsgroups.com>
    !> !References: <O5lMByfVDHA.1072@TK2MSFTNGP12.phx.gbl>
    !<BrIHeDzVDHA.2000@cpmsftngxa06.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;
    !> ! 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: <O3d3gf3VDHA.2260@TK2MSFTNGP09.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]" <yhhuang@online.microsoft.com> wrote in message
    !> !news:BrIHeDzVDHA.2000@cpmsftngxa06.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" <lkendall@msdnnewsgroups.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.1072@TK2MSFTNGP12.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

Posting Permissions

  • You may not post new threads
  • You may 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