M
McGeeky
Hi. I use the tilda ~ symbol to calculate URLs from the base of the
application when using Response.Redirect() eg.
Response.Redirect ( @"~\ResolveErrors\Resolve.aspx" );
But is there a way to pre-calculate the URL? I want to embed it in the page.
E.g. MyUrlString = URL.Encode (@"~\ResolveErrors\Resolve.aspx" );
Thanks!
application when using Response.Redirect() eg.
Response.Redirect ( @"~\ResolveErrors\Resolve.aspx" );
But is there a way to pre-calculate the URL? I want to embed it in the page.
E.g. MyUrlString = URL.Encode (@"~\ResolveErrors\Resolve.aspx" );
Thanks!