i got error in html menu control [Resolved]

Posted by reddysankark-13471 under ASP.NET on 8/6/2012 | Points: 10 | Views : 1315 | Status : [Member] | Replies : 3
<td align="center" style="text-decoration:none; width:80%; font-size: 8pt; font-style:normal; font-family:Verdana; font-weight:lighter; letter-spacing: 2pt;">
<a href='/EPostalServicesNetwork/Default.aspx'>Home</a>&nbsp;|&nbsp;
<a href='/EPostalServicesNetwork/Admin/Default.aspx'>Admin Home</a>&nbsp;|&nbsp;
<a href='/EPostalServicesNetwork/ourmission.aspx'>Our Mission</a>&nbsp;|&nbsp;
<a href='/EPostalServicesNetwork/epayment.aspx'>E-Payment</a>&nbsp;|&nbsp;
<a href='/EPostalServicesNetwork/Feedback.aspx'>Feedback</a>&nbsp;|&nbsp;
<a href='/EPostalServicesNetwork/frmContactUs.aspx'>Contact Us</a>
</td>

i got error when i click home and anchor like this

Server Error in '/epostoffice' Application.
HTTP Error 404 - Not Found.
Version Information: ASP.NET Development Server 9.0.0.0

sankarreddy


Responses

Posted by: Ranjeet_8 on: 8/7/2012 [Member] [MVP] Gold | Points: 50

Up
0
Down

Resolved
Try this
<a href='EPostalServicesNetwork/Default.aspx'>Home</a>&nbsp;|&nbsp; 

<a href='EPostalServicesNetwork/Admin/Default.aspx'>Admin Home</a>&nbsp;|&nbsp;
<a href='EPostalServicesNetwork/ourmission.aspx'>Our Mission</a>&nbsp;|&nbsp;
<a href='EPostalServicesNetwork/epayment.aspx'>E-Payment</a>&nbsp;|&nbsp;
<a href='EPostalServicesNetwork/Feedback.aspx'>Feedback</a>&nbsp;|&nbsp;
<a href='EPostalServicesNetwork/frmContactUs.aspx'>Contact Us</a>


reddysankark-13471, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ogipansrk on: 8/7/2012 [Member] Starter | Points: 25

Up
0
Down
What Rajeet said is right ,

but still , if u wana a shortcut ,
use like this:
ex1:
<a href='Default.aspx'>Home</a>&nbsp;|&nbsp;

ex2: In case if you're having a webform within a subfolder , then use the below
<a href='subfolder/Default.aspx'>Home</a>&nbsp;|&nbsp;

reddysankark-13471, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ranjeet_8 on: 8/7/2012 [Member] [MVP] Gold | Points: 25

Up
0
Down
@ Reddysankark@Yahoo.Com

Plz Mark As Answer, if post helps u

reddysankark-13471, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response