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. Advertising

  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. Advertising

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. news.west.cox.net

    Select menus above flyout menus? help?

    news.west.cox.net, Dec 8, 2004, in forum: HTML
    Replies:
    8
    Views:
    817
  2. EnigmaticSource
    Replies:
    4
    Views:
    854
    EnigmaticSource
    Oct 5, 2007
  3. Augustin Prasanna
    Replies:
    1
    Views:
    1,356
    bruce barker
    Jul 17, 2009
  4. Adrienne Boswell
    Replies:
    1
    Views:
    524
    dorayme
    Aug 4, 2009
  5. Travis Newbury
    Replies:
    0
    Views:
    448
    Travis Newbury
    Aug 4, 2009
Loading...

Share This Page