Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 4 of 4

Thread: Image Header for the Left Navigation

  1. #1
    srijans is offline Junior Member
    Join Date
    Jul 2010
    Posts
    11

    Default Image Header for the Left Navigation

    Hi,

    I am trying to replace the left navigation header text with a header image using the ImageHeader attribute.

    But the image does not get displayed.

    Can someone help me out in this ?

    Thanks
    Sriram.

  2. #2
    ASPAlfred is offline Senior Member
    Join Date
    Nov 2007
    Posts
    2,244

    Default

    Please post what changes you've made specifically in terms of invoking/calling the image in template.master file.
    Last edited by ASPAlfred; 07-20-2010 at 02:57 AM.

  3. #3
    srijans is offline Junior Member
    Join Date
    Jul 2010
    Posts
    11

    Default

    Actual Code to display heading text

    --------------------------------------------------------------------------

    <aspdnsf:EntityControl ID="ctrlEntityManufacturer" runat="server" Header="<%$ Tokens:StringResource, AppConfig.ManufacturerPromptPlural %>"
    EntityType="Manufacturer" MaxMenuSize="<%$ Tokens:AppConfigUSInt, MaxMenuSize %>" />

    --------------------------------------------------------------------------

    Modified Code to display header image

    --------------------------------------------------------------------------

    <aspdnsf:EntityControl ID="ctrlEntityManufacturer" runat="server" ImageHeader="images/img_browsebymanu.gif"
    EntityType="Manufacturer" MaxMenuSize="<%$ Tokens:AppConfigUSInt, MaxMenuSize %>" />

    --------------------------------------------------------------------------

  4. #4
    chrismartz is offline Senior Member
    Join Date
    Apr 2010
    Posts
    339

    Default

    I'm having the same problem. Is there any way to do ~/images and have .net convert that during runtime. I tried putting "<%$ Tokens:SkinImageDir, shoppingcart.gif %>" in but that didn't work.