Click here to Skip to main content
15,891,657 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Dear Friends,

What is the wrong in this code.

States.aspx?State=Uttar+Pradesh
In this page I got the error like The 'url' property had a malformed URL: /States.aspx?State=Uttar+Pradesh.

States.aspx?State=Andhra+Pradesh
In this page I got the error like The 'url' property had a malformed URL: /States.aspx?State=Andhra+Pradesh.

States.aspx?State=Karnataka
States>>Karnataka

XML
<siteMapNode url="Default.aspx" title="States">
<siteMapNode url="States.aspx?State=Andhra+Pradesh" title="Andhra Pradesh" />
<siteMapNode url="States.aspx?State=Karnataka" title="Karnataka" />
<siteMapNode url="States.aspx?State=Uttar+Pradesh" title="Uttar Pradesh" />
</siteMapNode>


Thanks in advance
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900