Virtual paths for a page are usually determined as :

Request.Path.Substring(0, Request.Path.LastIndexOf("/")+1 );


On Nov 14, 9:38 am, Zyphers <[EMAIL PROTECTED]> wrote:
> I'm trying to get virtual path from url address.
> I've ever use Page.MapPath() but it's not what I want .. well ..can we
> get virtual path from any url address? Is it possible to do?
>
> Thanks in advance for all answers.

Reply via email to