XML file as an input for Tree View

3 posts, 0 answers
  1. Medac
    Medac avatar
    79 posts
    Member since:
    Sep 2008

    Posted 12 Oct 2009 Link to this post

    Hi,

    I have an XML file as Source file for Tree View control. How to load the data to tree view control. Is there any example for tree view control which accepts data as XML file?

    I have visited http://demos.telerik.com/aspnet-ajax/treeview/examples/overview/defaultvb.aspx. In this I didnt get any sample for my requirement. Please help regarding the same.

    Regards,
    Medac
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 12 Oct 2009 Link to this post

    Hi Medac,

    Checkout the online demo which shows populating RadTreeView via the LoadContentFile method and also by using XmlDataSource.
    Populating from XML

    Also checkout the documentation that shows XML file structure and how to load using LoadContentFile method: Loading XML Content

    Hope this would be of help,
    Shinu.
  3. Medac
    Medac avatar
    79 posts
    Member since:
    Sep 2008

    Posted 12 Oct 2009 Link to this post

    Shinu,

    It worked now I am facing one problem here I have to display text like this "LocationType<>". Since it contains <> symbol. It is giving error near < symbol.
    Help me!!!!

    Regards,
    Medac
Back to Top