hello which option is better to use in hyperlink's NavigateUrl property..
to write like NavigateUrl="default.aspx" , NavigateUrl ="cart.aspx" n so on...
or i should like the path wich displays in the web browser like:
NavigateUrl ="http://localhost:2918/AJAXEnabledWebSite2/default.aspx"
NavigateUrl ="http://localhost:2918/AJAXEnabledWebSite2/cart.aspx"
Loading

Kirtan PatelPosted Oct 23, 2009, 2:33 PM
you should use relative path like below
~/cart.aspx
~/products.aspx
if your page is in some directory then
~/products/production.aspx
please check "do you like this answer" :)
Roei BarPosted Oct 23, 2009, 4:30 PM
using relative url is always better in order to make sure your link will work without changes if you change domains on the way. and another thing is that its better for Search Engines since they are checking the Links as well for ranking sites, and a site with internal links insted of external ones has a higher rank