CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> .NET

 Image Link not taking width parameter on build

Print topic Send  topic

Author Message
swilson


Posts: 84
Posted: 10/12/2005, 4:59 AM

I set the width format property of an ImageLink to 100. It builds the HTML as follows:
<td class=""><a class="" href="{ImageLink1}"><img class="" src="{ImageLink1_Src}" width="100"></a></td>

and the .aspx as:
<td class=""><asp:HyperLink id="HomepageImageLink1" NavigateUrl="" ImageUrl='' CssClass="" Width="100" runat="server"/></td>

Is there a bug in the build resulting in ImageUrl='' instead of ImageURL="" ?

My problem is that the width property is not working when viewing the page in a browser. I also tried setting the width property in the before show event as a work around as follows:
homepageImageLink1.width = Unit.Pixel(100)

This did not work either.

Is there a fix or workaround, or what am I missing?

THANKS.
_________________
It continues to amaze me, how often the solutions to seemingly complex problems are so very simple.
View profile  Send private message
swilson


Posts: 84
Posted: 10/18/2005, 6:00 AM

This answer from support solved my problem:

The issue related to "width" attribute is ASP.NET issue. It fact this attribute does not set width for a hyperlink. As a workaround please use standard Link control and in its Before Show event assign <img> HTML code to Link’s Value property.
_________________
It continues to amaze me, how often the solutions to seemingly complex problems are so very simple.
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.