Geeks With Blogs
Moez Mousavi

This HttpContext is is a very useful creature, look at this one:

HttpContext.Current.Request.Url.AbsolutePath

For example you might want to change a CSS class of a control at runtime depend to url, you could specify this code in the master page and observe the url in the PageLoad for say.

Posted on Tuesday, January 25, 2011 11:32 PM Validation , C# , ASP.NET | Back to top

Copyright © MoezMousavi | Powered by: GeeksWithBlogs.net