ASP.NET Menus's Background Images

Discussion in 'ASP .Net' started by Microsoft Newsserver, Aug 7, 2008.

  1. HI

    I'm using an ASP.NET Menu. I have used the SelectedItem Style to set
    background Images

    { background-image:url('myBackgroundImage.gif '}

    This works fine except for the fact that these images are called for each
    item every time the update panel is updated.

    I need a solution to reference a page resident image. if I could do
    something like


    { background-image:url('MyPageResourece/myBackgroundImage.gif '} That would
    be great, but how do I store and retreive a page resident image.

    Thanks
     
    Microsoft Newsserver, Aug 7, 2008
    #1
    1. Advertisements

  2. Microsoft Newsserver

    Munna Guest

    Hi,

    Try using a style sheet class rather than a inline style...

    just give a try ...

    best of luck

    Munna
     
    Munna, Aug 7, 2008
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Bratislav Jevtic

    asp.net menus

    Bratislav Jevtic, Oct 21, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    533
    Rajesh.V
    Oct 21, 2003
  2. Vilmar
    Replies:
    0
    Views:
    678
    Vilmar
    May 27, 2004
  3. =?Utf-8?B?TmFk?=
    Replies:
    8
    Views:
    481
    Alok Chauhan
    May 16, 2005
  4. Frustrated .NET programmer

    How do I set up menus in ASP.NET?

    Frustrated .NET programmer, Jul 25, 2005, in forum: ASP .Net
    Replies:
    6
    Views:
    508
    Steve C. Orr [MVP, MCSD]
    Jul 25, 2005
  5. news.west.cox.net

    Select menus above flyout menus? help?

    news.west.cox.net, Dec 8, 2004, in forum: HTML
    Replies:
    8
    Views:
    1,090
  6. EnigmaticSource
    Replies:
    4
    Views:
    1,009
    EnigmaticSource
    Oct 5, 2007
  7. Augustin Prasanna
    Replies:
    1
    Views:
    1,456
    bruce barker
    Jul 17, 2009
  8. Adrienne Boswell
    Replies:
    1
    Views:
    669
    dorayme
    Aug 4, 2009
Loading...