public XmlCollectionBase(string strNamespace, DnnTree objTreeControl) { m_objTree = objTreeControl; InnerXMLDoc = new XmlDocument(); InnerXMLNode = InnerXMLDoc.CreateNode(XmlNodeType.Element, "root", ""); XmlAttribute objAttr = InnerXMLDoc.CreateAttribute("id"); objAttr.Value = strNamespace; InnerXMLNode.Attributes.Append(objAttr); InnerXMLDoc.AppendChild(InnerXMLNode); }
public XmlCollectionBase( XmlNode objXmlNode, DnnTree objTreeControl ) { m_objTree = objTreeControl; InnerXMLNode = objXmlNode; InnerXMLDoc = InnerXMLNode.OwnerDocument; }
internal void SetDNNTree(DnnTree objTree) { m_objDNNTree = objTree; }
public void RenderTree(HtmlTextWriter writer, DnnTree tree) { _tree = tree; RenderControl(writer); }
/// <summary> /// Loads node collection based off of XML string /// </summary> /// <param name="strXML">XML String</param> /// <param name="strXSLFile">XSL FileName. Leave empty if no transform needed</param> /// <param name="objControl">DNN Tree control</param> /// <remarks> /// </remarks> /// <history> /// [Jon Henning] 12/22/2004 Created /// </history> public TreeNodeCollection(string strXML, string strXSLFile, DnnTree objControl) : base(strXML, strXSLFile) { m_objDNNTree = objControl; }
public override void Initialize() { Tree = new DnnTree(); Tree.ID = _controlID; Tree.NodeClick += DNNTree_NodeClick; Tree.PopulateOnDemand += DNNTree_PopulateOnDemand; }
//In order to maintain backwards compatibility with the tree from versions before 3.2 we need to allow the //baseclass to return the treenodeenumerator, thus the need to pass the tree to the new base collection class //Yes, this is a hack! public DNNNodeCollection( string strNamespace, DnnTree objTreeControl ) : base( strNamespace, objTreeControl ) { }
internal TreeNode( XmlNode objXmlNode, Control ctlOwner ) : base( objXmlNode ) { m_objDNNTree = (DnnTree)ctlOwner; }
/// <summary> /// Constructor to call when creating a Root Node /// </summary> /// <param name="strNamespace">Namespace of node hierarchy</param> /// <param name="objControl">DnnTree control associated to TreeNodeCollection</param> /// <remarks> /// </remarks> /// <history> /// [Jon Henning] 12/22/2004 Created /// </history> public TreeNodeCollection( string strNamespace, DnnTree objControl ) : base( strNamespace, objControl ) { m_objDNNTree = objControl; }
public XmlCollectionBase(XmlNode objXmlNode, DnnTree objTreeControl) { m_objTree = objTreeControl; InnerXMLNode = objXmlNode; InnerXMLDoc = InnerXMLNode.OwnerDocument; }
//In order to maintain backwards compatibility with the tree from versions before 3.2 we need to allow the //baseclass to return the treenodeenumerator, thus the need to pass the tree to the new base collection class //Yes, this is a hack! protected XmlCollectionBase(DnnTree objTreeControl) { m_objTree = objTreeControl; }
internal TreeNode(Control ctlOwner) { m_objDNNTree = (DnnTree)ctlOwner; }
internal TreeNode(XmlNode objXmlNode, Control ctlOwner) : base(objXmlNode) { m_objDNNTree = (DnnTree)ctlOwner; }
public XmlCollectionBase( string strNamespace, DnnTree objTreeControl ) { m_objTree = objTreeControl; InnerXMLDoc = new XmlDocument(); InnerXMLNode = InnerXMLDoc.CreateNode( XmlNodeType.Element, "root", "" ); XmlAttribute objAttr = InnerXMLDoc.CreateAttribute( "id" ); objAttr.Value = strNamespace; InnerXMLNode.Attributes.Append( objAttr ); InnerXMLDoc.AppendChild( InnerXMLNode ); }
/// <summary> /// Loads node collection based off of XML string /// </summary> /// <param name="strXML">XML String</param> /// <param name="strXSLFile">XSL FileName. Leave empty if no transform needed</param> /// <param name="objControl">DNN Tree control</param> /// <remarks> /// </remarks> /// <history> /// [Jon Henning] 12/22/2004 Created /// </history> public TreeNodeCollection( string strXML, string strXSLFile, DnnTree objControl ) : base( strXML, strXSLFile ) { m_objDNNTree = objControl; }
internal void SetDNNTree( DnnTree objTree ) { m_objDNNTree = objTree; }
/// <summary> /// Constructor for all nodes that are not the root. /// </summary> /// <param name="objXmlNode">Node whose children will be exposed by this class</param> /// <param name="objControl">DNN Tree control</param> /// <remarks> /// </remarks> /// <history> /// [Jon Henning] 12/22/2004 Created /// </history> public TreeNodeCollection( XmlNode objXmlNode, DnnTree objControl ) : base( objXmlNode, objControl ) //, ByVal objControl As Control) { m_objDNNTree = objControl; }
internal TreeNode( Control ctlOwner ) { m_objDNNTree = (DnnTree)ctlOwner; }
public TreeNodeEnumerator(XmlNode objRoot, DnnTree objControl) { m_objXmlNode = objRoot; m_objDNNTree = objControl; m_intCursor = -1; }
public DNNNodeCollection( XmlNode objXmlNode, DnnTree objTreeControl ) : base( objXmlNode, objTreeControl ) { }
//In order to maintain backwards compatibility with the tree from versions before 3.2 we need to allow the //baseclass to return the treenodeenumerator, thus the need to pass the tree to the new base collection class //Yes, this is a hack! public DNNNodeCollection(string strNamespace, DnnTree objTreeControl) : base(strNamespace, objTreeControl) { }
/// <summary> /// Constructor to call when creating a Root Node /// </summary> /// <param name="strNamespace">Namespace of node hierarchy</param> /// <param name="objControl">DnnTree control associated to TreeNodeCollection</param> /// <remarks> /// </remarks> /// <history> /// [Jon Henning] 12/22/2004 Created /// </history> public TreeNodeCollection(string strNamespace, DnnTree objControl) : base(strNamespace, objControl) { m_objDNNTree = objControl; }
public DNNNodeCollection(XmlNode objXmlNode, DnnTree objTreeControl) : base(objXmlNode, objTreeControl) { }
/// <summary> /// Constructor for all nodes that are not the root. /// </summary> /// <param name="objXmlNode">Node whose children will be exposed by this class</param> /// <param name="objControl">DNN Tree control</param> /// <remarks> /// </remarks> /// <history> /// [Jon Henning] 12/22/2004 Created /// </history> public TreeNodeCollection(XmlNode objXmlNode, DnnTree objControl) : base(objXmlNode, objControl) //, ByVal objControl As Control) { m_objDNNTree = objControl; }
//In order to maintain backwards compatibility with the tree from versions before 3.2 we need to allow the //baseclass to return the treenodeenumerator, thus the need to pass the tree to the new base collection class //Yes, this is a hack! protected XmlCollectionBase( DnnTree objTreeControl ) { m_objTree = objTreeControl; }
public TreeNodeEnumerator( XmlNode objRoot, DnnTree objControl ) { m_objXmlNode = objRoot; m_objDNNTree = objControl; m_intCursor = -1; }
public void RenderTree( HtmlTextWriter writer, DnnTree tree ) { _tree = tree; RenderControl( writer ); }