Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jason Burton 13 posts 33 karma points
    May 25, 2011 @ 19:31
    Jason Burton
    0

    treeHandlerAssembly, treeHandlerType

    I'm having problems referencing an assembly, but unsure where to find out why...

    The AppTree contains the Assembly name of "myAssemblyTitle" (as the dll filename without dll) and the treehandlertype is the class information of "BaseTree" am I calling it incorrectly from the AppTree?


    Code:

    namespace myNameSpace 
    {
        public class MyClass : BaseTree
    
        {
            public MyClass(string application) : base(application)
            { 
             //zero constructor
            }
    
            //
            // Initialize the tree..
            //
            protected override void CreateRootNode (ref XmlTreeNode rootNode)
            {
                rootNode.Icon = "FolderIcon";
                rootNode.OpenIcon = "FolderIconOpen";
                rootNode.NodeType = "init" + TreeAlias;
                rootNode.NodeID = "init";
                rootNode.Text = "My Section";
    
            }
    
            //
            // Override the render method to create the new section tree
            //
            public override void Render(ref XmlTree Tree)
    Does anyone know why its not rendering the nodes? I think its because its calling the Assembly wrong but unsure..
Please Sign in or register to post replies

Write your reply to:

Draft