Preload TreeView images

Discussion in 'ASP .Net Web Controls' started by Mark, Feb 13, 2004.

  1. Mark

    Mark Guest

    Is it possible to preload TreeView images
    When I open nodes sometimes these images (hor. line, vert. line) are missed.
     
    Mark, Feb 13, 2004
    #1
    1. Advertising

  2. Mark

    Teemu Keiski Guest

    Hi,

    you could specify the folder where these are fetched to be cached in IIS
    (content does not expire right away) so that images wouldn't be served for
    each separate image instance.

    --
    Teemu Keiski
    MCP, Microsoft MVP (ASP.NET), AspInsiders member
    ASP.NET Forum Moderator, AspAlliance Columnist

    "Mark" <> wrote in message
    news:...
    Is it possible to preload TreeView images?
    When I open nodes sometimes these images (hor. line, vert. line) are missed.
     
    Teemu Keiski, Feb 13, 2004
    #2
    1. Advertising

  3. Mark

    Teemu Keiski Guest

    1. Open IIS, your web site and locate the folder where images are. Note that
    you want them to be in separate folder for this to work.
    2. Right-click the folder and pick properties
    3. Choose HTTP Headers tab
    4. At top mark "Enable Contect Expiration" as checked
    5. Specify the proper expiration settings( so that expiration does not
    happen immediately, say expire after 7 days)

    This way IIS will enable images to be cached

    -
    Teemu Keiski
    MCP, Microsoft MVP (ASP.NET), AspInsiders member
    ASP.NET Forum Moderator, AspAlliance Columnist




    "Mark" <> wrote in message
    news:...
    How do I do that?
     
    Teemu Keiski, Feb 14, 2004
    #3
    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. Morris

    preload images

    Morris, Nov 12, 2003, in forum: HTML
    Replies:
    5
    Views:
    626
    Beauregard T. Shagnasty
    Nov 14, 2003
  2. ks
    Replies:
    1
    Views:
    390
    Mark Rae
    Aug 5, 2006
  3. shapper
    Replies:
    4
    Views:
    4,100
    Laurent Bugnion
    Nov 25, 2006
  4. =?Utf-8?B?Q2FzcGE=?=

    Preload images returned by an HttpHandler

    =?Utf-8?B?Q2FzcGE=?=, Mar 9, 2007, in forum: ASP .Net
    Replies:
    2
    Views:
    411
    Chilumba Mubashi [MSFT]
    Mar 28, 2007
  5. Brynn

    Preload images question

    Brynn, Aug 19, 2004, in forum: ASP General
    Replies:
    1
    Views:
    117
    Ray at
    Aug 19, 2004
Loading...

Share This Page