Inherit from TreeNode

Discussion in 'ASP .Net Web Controls' started by Henke, Jun 10, 2004.

  1. Henke

    Henke Guest

    Isn't it possible to use inherited TreeNodes in a TreeView?
    I get an ArgumentOutOfRangeException when trying to add a second node to the
    tree.

    My class looks like this:

    public class MyTreeNode : Microsoft.Web.UI.WebControls.TreeNode
    {
    public MyTreeNode()
    {
    }
    }

    Thanks in advance
    Henke, Jun 10, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Aditi Deo via .NET 247
    Replies:
    0
    Views:
    368
    Aditi Deo via .NET 247
    Jun 5, 2004
  2. naijacoder naijacoder
    Replies:
    1
    Views:
    665
    naijacoder naijacoder
    Sep 15, 2004
  3. naija naija
    Replies:
    0
    Views:
    494
    naija naija
    Sep 28, 2004
  4. Patrick Olurotimi Ige
    Replies:
    2
    Views:
    534
    Patrick Olurotimi Ige
    Feb 15, 2005
  5. tanya foster
    Replies:
    3
    Views:
    3,715
    tanya foster
    May 18, 2006
Loading...

Share This Page