Thursday, July 30, 2009

Url Rebasing in ASP.NET 2.0

Url Rebasing in ASP.NET 2.0: ASP Alliance: "Url Rebasing"

Let’s say we have an image control with relative path on the masterpage html, and Masterpage is in one folder and the content page is in different folder. The relative image path given in the masterpage html markup points to the wrong location and the image is not rendered. To avoid these sorts of problems Asp.Net rebases relative urls known as Url Rebasing.