Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsClientAPIClientAPIDNNTree XMLDNNTree XML
Previous
 
Next
New Post
9/8/2006 4:31 PM
 

I apologize if this is out there.  However, I have searched and cannot find anything.  Is there any documentation on the the underlying XML of the DNNTree?  I am trying to build a tree by building the XML first and loading that.  It would greatly help if I could find something that documents all of the possible attributes without having to dig through the control's source.  Thank you in advance for any help.

 
New Post
9/11/2006 9:56 AM
 
I am sorry to say there is no documentation on the xml at this time.

 
New Post
9/27/2006 8:48 AM
 

I was able to get a sample XML by saving what was in the tree to a file.  I now load the below XML and do a databind.  The tree draws correctly, but now, when I click on a file link, it seems to do nothing.  Any ideas?  I appreciate your help!

<root id="dnn_ctr379_FileTreeView_DNNTree1">
  <n id="0" txt="Providers" img="../../../Images/folder.gif" ca="Expand" hasNodes="1">
    <n id="1" txt="temp" img="../../../Images/folder.gif" ca="Expand" hasNodes="1">
      <n id="2" txt="Document2.txt" img="../../../Images/file.gif" ca="Navigate" url="http://localhost/DotNetNuke/temp/Providers/temp/Document2.txt" tar="_blank" />
    </n>
  </n>
  <n id="3" txt="Solutions" img="../../../Images/folder.gif" ca="Expand" hasNodes="1">
    <n id="4" txt="KeepAlive.aspx" img="../../../Images/file.gif" ca="Navigate" url="http://localhost/DotNetNuke/temp/Solutions/Document.txt" tar="_blank" />
    <n id="5" txt="KeepAlive.aspx.resx" img="../../../Images/file.gif" ca="Navigate" url="http://localhost/DotNetNuke/temp/Solutions/Document0.txt" tar="_blank" />
    <n id="6" txt="KeepAlive.aspx.vb" img="../../../Images/file.gif" ca="Navigate" url="http://localhost/DotNetNuke/temp/Solutions/Document5.txt" tar="_blank" />
  </n>
  <n id="7" txt="LinkClick.aspx" img="../../../Images/file.gif" ca="Navigate" url=http://localhost/DotNetNuke/temp/Document1.txt tar="_blank" />
  <n id="8" txt="LinkClick.aspx.vb" img="../../../Images/file.gif" ca="Navigate" url=http://localhost/DotNetNuke/temp/Document3.txt tar="_blank" />
  <n id="9" txt="release.config" img="../../../Images/file.gif" ca="Navigate" url="http://localhost/DotNetNuke/temp/Document4.txt" tar="_blank" />
</root>

 
New Post
9/27/2006 3:01 PM
 
Any chance you can post a URL for me to look at?

 
New Post
9/27/2006 5:12 PM
 

Jon,

Thank you for the response.  Unfortunately, this is being developed on an intranet behind a firewall.  However, I did figure out the issue.  The "ca" element should be numeric instead of a string.  So the above XML changes to this:

<root id="dnn_ctr379_FileTreeView_DNNTree1">
  <n id="0" txt="Providers" img="../../../Images/folder.gif" ca="1" hasNodes="1">
    <n id="1" txt="temp" img="../../../Images/folder.gif" ca="1" hasNodes="1">
      <n id="2" txt="Document2.txt" img="../../../Images/file.gif" ca="3" url="http://localhost/DotNetNuke/temp/Providers/temp/Document2.txt" tar="_blank" />
    </n>
  </n>
  <n id="3" txt="Solutions" img="../../../Images/folder.gif" ca="1" hasNodes="1">
    <n id="4" txt="KeepAlive.aspx" img="../../../Images/file.gif" ca="3" url="http://localhost/DotNetNuke/temp/Solutions/Document.txt" tar="_blank" />
    <n id="5" txt="KeepAlive.aspx.resx" img="../../../Images/file.gif" ca="3" url="http://localhost/DotNetNuke/temp/Solutions/Document0.txt" tar="_blank" />
    <n id="6" txt="KeepAlive.aspx.vb" img="../../../Images/file.gif" ca="3" url="http://localhost/DotNetNuke/temp/Solutions/Document5.txt" tar="_blank" />
  </n>
  <n id="7" txt="LinkClick.aspx" img="../../../Images/file.gif" ca="3" url=http://localhost/DotNetNuke/temp/Document1.txt tar="_blank" />
  <n id="8" txt="LinkClick.aspx.vb" img="../../../Images/file.gif" ca="3" url=http://localhost/DotNetNuke/temp/Document3.txt tar="_blank" />
  <n id="9" txt="release.config" img="../../../Images/file.gif" ca="3" url="http://localhost/DotNetNuke/temp/Document4.txt" tar="_blank" />
</root>

After doing that, it worked perfectly.  I want to thank you for all of the time and effort that must have went into the writing of this control.  It works wonderfully.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsClientAPIClientAPIDNNTree XMLDNNTree XML


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out