S
Samuel Shulman
I am trying to add HyperLink column with an image
Below is the code that I use
<asp:TemplateField>
<ControlStyle Height="75px" Width="75px" />
<ItemStyle Height="75px" Width="75px" />
<ItemTemplate>
<asp:HyperLink ID="HPF1" runat="server" Height="75px" Width="75px"
ImageUrl='<%# Eval("ImageFilePath") %>' NavigateUrl='<%# Eval("ProductURL")
%>' />
</ItemTemplate>
</asp:TemplateField>
The problem is that the image appears in it's original size and I want it to
be 75px / 75px only
Thank you,
Samuel
Below is the code that I use
<asp:TemplateField>
<ControlStyle Height="75px" Width="75px" />
<ItemStyle Height="75px" Width="75px" />
<ItemTemplate>
<asp:HyperLink ID="HPF1" runat="server" Height="75px" Width="75px"
ImageUrl='<%# Eval("ImageFilePath") %>' NavigateUrl='<%# Eval("ProductURL")
%>' />
</ItemTemplate>
</asp:TemplateField>
The problem is that the image appears in it's original size and I want it to
be 75px / 75px only
Thank you,
Samuel