Is there any benifit to using one of these methods over the other when resolving paths which start with the tilde (~)?
Generally, what is a better practice, should y
Another difference I noticed:
Code:
string value = "~/Docs/Hello & World.aspx"; Response.Write(HyperLink1.ResolveClientUrl(value) + ""); Response.Write(HyperLink1.ResolveUrl(value) + "");
string value = "~/Docs/Hello & World.aspx";
Response.Write(HyperLink1.ResolveClientUrl(value) + "");
Response.Write(HyperLink1.ResolveUrl(value) + "");
Result:
Docs/Hello%20&%20World.aspx
/Docs/Hello & World.aspx