M Mark Rae Jan 10, 2006 #2 Which property or function can return the Page's URL in C#? Click to expand... Request.ServerVariables["PATH_INFO"]
Which property or function can return the Page's URL in C#? Click to expand... Request.ServerVariables["PATH_INFO"]
K Karl Seguin [MVP] Jan 10, 2006 #3 Or better yet, look at the complete Request.Url property,which exposes a Uri object with very useful functions. Request.Url.AbsoluteUrl Karl -- http://www.openmymind.net/ Mark Rae said: Which property or function can return the Page's URL in C#? Click to expand... Request.ServerVariables["PATH_INFO"] Click to expand...
Or better yet, look at the complete Request.Url property,which exposes a Uri object with very useful functions. Request.Url.AbsoluteUrl Karl -- http://www.openmymind.net/ Mark Rae said: Which property or function can return the Page's URL in C#? Click to expand... Request.ServerVariables["PATH_INFO"] Click to expand...
M Mark Rae Jan 11, 2006 #4 "Karl Seguin [MVP]" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net> wrote in message Or better yet, look at the complete Request.Url property,which exposes a Uri object with very useful functions. Request.Url.AbsoluteUrl Click to expand... Yes - that is a better solution.
"Karl Seguin [MVP]" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net> wrote in message Or better yet, look at the complete Request.Url property,which exposes a Uri object with very useful functions. Request.Url.AbsoluteUrl Click to expand... Yes - that is a better solution.