How to set a node is selected in treeview when display it in asp.net?
<p>I have a problem with treeview is when in bind data into treeview .I want to set a child node is selected node.For instance:
My treeview:</p>

<pre><code>   &lt;asp:TreeView ID="TreeView1" runat="server" ImageSet="Arrows" NodeWrap="true"&gt;           
         &lt;Nodes&gt;
            &lt;asp:TreeNode Value="Child1" Expanded="True" Text="1"&gt;
              &lt;asp:TreeNode Value="Grandchild1" Text="A" /&gt;
              &lt;asp:TreeNode Value="Grandchild2" Text="B" /&gt;
            &lt;/asp:TreeNode&gt;
            &lt;asp:TreeNode Value="Child2" Text="2" /&gt;
            &lt;asp:TreeNode Value="Child3" Expanded="True" Text="3"&gt;
              &lt;asp:TreeNode Value="Grandchild1" Text="A" /&gt;
            &lt;/asp:TreeNode&gt;
          &lt;/Nodes&gt;

    &lt;/asp:TreeView&gt;
</code></pre>

<p>And when page load or i click some button on page . I want to set a "" is the selected node (Selected node will change style or something).</p>

<p>I hope someone help me !Thanks.</p>
