resolving relative ~ paths

Discussion in 'ASP .Net Building Controls' started by Stephen Woolhead, Feb 3, 2005.

  1. Is there a function that will replace the ~ in a relative path with the
    virtual directory, so I can use the path in clientside javascript?

    Thanks

    Stephen.
     
    Stephen Woolhead, Feb 3, 2005
    #1
    1. Advertising

  2. "Stephen Woolhead" <> wrote in message
    news:%...
    >
    > Is there a function that will replace the ~ in a relative path with the
    > virtual directory, so I can use the path in clientside javascript?


    Found it, control.ResolveUrl.

    Stephen
     
    Stephen Woolhead, Feb 3, 2005
    #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. rjbr
    Replies:
    2
    Views:
    509
    =?Utf-8?B?QWxveXNpdXMgTWFyaWEgU2VsdmFt?=
    Jul 12, 2006
  2. Noah
    Replies:
    5
    Views:
    793
  3. Uche Ogbuji
    Replies:
    0
    Views:
    425
    Uche Ogbuji
    Aug 22, 2003
  4. PJ6
    Replies:
    0
    Views:
    348
  5. Ohad Lutzky

    Paths, gentleman, paths

    Ohad Lutzky, Nov 6, 2006, in forum: Ruby
    Replies:
    2
    Views:
    202
    David Vallner
    Nov 7, 2006
Loading...

Share This Page