<?xml version="1.0" encoding="utf-8" ?>
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
<siteMapNode url="~/default.aspx" title="Home">
</siteMapNode>
</siteMap>),此时就不会报错了,不知是什么原因?难道使用TreeView一定要使用Web.sitemap吗?
导航控件的TreeView和Web.sitemap两者一定要搭配使用吗?