Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Building Controls > resolving relative ~ paths

Reply
Thread Tools

resolving relative ~ paths

 
 
Stephen Woolhead
Guest
Posts: n/a
 
      02-03-2005

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.


 
Reply With Quote
 
 
 
 
Stephen Woolhead
Guest
Posts: n/a
 
      02-03-2005
"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


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Paths, gentleman, paths Ohad Lutzky Ruby 2 11-07-2006 02:15 AM
BUG: debugger is case-sensitive to paths when resolving assembly refrences PJ6 ASP .Net 0 09-21-2006 04:40 PM
asp.net application not resolving relative paths rjbr ASP .Net 2 07-12-2006 10:14 AM
Re: resolving relative paths for external entities with xml.sax Uche Ogbuji Python 0 08-22-2003 04:07 PM
Convert between Windows style paths and POSIX style paths Noah Python 5 07-11-2003 09:25 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57