 Rank: Administration Groups: Administration
Joined: 11/23/2008 Posts: 335 Points: 711 Location: Australia
|
In html tags "<a href", use "/" like a file path: <a href="/SelfRegister.aspx"> <a href="../../SelfRegister.aspx">
In asp.net markup, "~" is preferred in Visual studio editor although the above-mentioned html syntax is supported. e.g. MasterPageFile="~/MasterPage.master" NavigateUrl="~/MusicTeacherView.aspx" PostBackUrl="~/Profiles/GeoffDawson.aspx" ImageUrl="~/Images/search.png"
|