i would like to find out whether the current url is with
how can i do it.
When you assgin the following to a string:Page.Request.Url.AbsoluteUri
then you have the full path of the url in the browser's address bar. (for example: http://www.microsoft.com/blabla/page02.aspx)
then you take a left trim of that string. for instance the 10 most-left characters. Compare those with "http://www" and if they equal, they equal
hope this helps!
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.