Ask a Question related to ASP.NET General, Design and Development.
-
Leigh Kendall #1
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
-
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... -
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... -
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... -
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... -
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 = "#";... -
Yan-Hong Huang[MSFT] #2
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
-
Yan-Hong Huang[MSFT] #3
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
-
Yan-Hong Huang[MSFT] #4
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
-
Leigh Kendall #5
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...the right of the image, I could access the link now.> 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 toif it is what you got. If confirmed, I will contact our>
> It seems that the link is independant of the image now. Please let me knowrights.> 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<BrIHeDzVDHA.2000@cpmsftngxa06.phx.gbl>>
> --------------------
> !From: "Leigh Kendall" <lkendall@msdnnewsgroups.com>
> !References: <O5lMByfVDHA.1072@TK2MSFTNGP12.phx.gbl>microsoft.public.dotnet.framework.aspnet:163801> !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.gblseems> !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. Itversions> !that this issue is isolated to IE5 as I cannot recreate it on otherfollowing> !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 theproperty.> !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 imageurlusual> !It seems that when the img tag is rendered in the
> !> hyperlink (<a>) tag, the img tag is closed with a /> instead of themust> !> 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> !upgrade?
> !> !TIA,
> !> !--
> !> !Leigh Kendall, MCSD, MCDBA
> !> !
> !>
> !>
> !
> !
>
>Leigh Kendall Guest
-
Yan-Hong Huang[MSFT] #6
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



Reply With Quote

