我正在尝试这样做:
<asp:TreeView id="LinksTreeView"
Font-Names= "Arial"
ForeColor="Blue"
EnableClientScript="true"
PopulateNodesFromClient="true"
OnTreeNodePopulate="PopulateNode"
runat="server">
<Nodes>
<asp:TreeNode Text="Logista"
SelectAction="Expand"
PopulateOnDemand="true"
Value="<% SPContext.Current.Web.Url %>"/>
</Nodes>
</asp:TreeView>
但是Visual Studio告诉我在这种情况下不支持代码块。有没有办法做我想做的事?
谢谢!