Adding a Treeview, is it as simple as it seems ?

Jul 6, 2010 at 12:09 PM

Okay im sure ive missed something here.

Im trying to use the Treeview adapter in my solution, with this browser file. I have also added the CCSFriendly.dll to my references. However the Treeview still renders as a Table any ideas.


  <browser refID="Default">
    <adapter controlType="System.Web.UI.WebControls.TreeView"
             adapterType="CSSFriendly.TreeViewAdapter" />

<browser id="W3C_Validator" parentID="default">
    <userAgent match="^W3C_Validator" />
    <capability name="browser"              value="W3C Validator" />
    <capability name="ecmaScriptVersion"    value="1.2" />
    <capability name="javascript"           value="true" />
    <capability name="supportsCss"          value="true" />
    <capability name="supportsCallback"     value="true" />
    <capability name="tables"               value="true" />
    <capability name="tagWriter"            value="System.Web.UI.HtmlTextWriter" />
    <capability name="w3cdomversion"        value="1.0" />



Tree view



           <asp:TreeView ID="tvPages" ExpandDepth="0" runat="server" CssClass="treeView"
             OnSelectedNodeChanged="tvPages_SelectedNodeChanged" OnTreeNodeExpanded="tvPages_TreeNodeExpanded1"
                    <asp:TreeNode Text="BluJamSite" PopulateOnDemand="True" Value="1" ></asp:TreeNode>