L
Lloyd Dupont
In my webcontrol I frequently set the path to a resource with a path like:
"~/images/sample.gif"
Now I'm writing a web user control in code (all in C#) and I need to
transform myself this ~ to either:
- "/"
- or "/virtualroot"
how do I do that?
I assume there should be a function somewhere.... but I'm still unsuccessful
at finding it!
"~/images/sample.gif"
Now I'm writing a web user control in code (all in C#) and I need to
transform myself this ~ to either:
- "/"
- or "/virtualroot"
how do I do that?
I assume there should be a function somewhere.... but I'm still unsuccessful
at finding it!