我的网络表单中有一个TreeView
,我需要它在被选中后保持关注。无论如何我能做到这一点吗?
<asp:TreeView ID="ReportList" runat="server" BorderWidth="0px" BorderColor="0"
Font-Names="Arial" Font-Size="Small" ForeColor="Blue" SelectedNodeStyle-ForeColor="Red"
SelectedNodeStyle-VerticalPadding="0" ExpandDepth="0" ImageSet="Arrows" EnableClientScript="False"
PopulateNodesFromClient="false" OnSelectedNodeChanged="TreeView_Select_Change"
OnTreeNodePopulate="PopulateNode" EnableViewState="true" BorderStyle="Solid" Height="600px">
<LevelStyles>
<asp:TreeNodeStyle ChildNodesPadding="10" Font-Bold="true" Font-Size="9pt" ForeColor="LightBlue" />
<asp:TreeNodeStyle ChildNodesPadding="5" Font-Bold="true" Font-Size="8pt" />
<asp:TreeNodeStyle ChildNodesPadding="5" Font-Underline="true" Font-Size="8pt" />
<asp:TreeNodeStyle ChildNodesPadding="10" Font-Size="8pt" />
</LevelStyles>
<Nodes>
<asp:TreeNode Text="Keyon Reports" SelectAction="Expand" PopulateOnDemand="true" />
</Nodes>
</asp:TreeView>