Databinding of r.a.d.navigational controls - menu, panelbar, tabstrip and treeview

2 posts, 0 answers
  1. Telerik Admin
    Telerik Admin avatar
    1572 posts
    Member since:
    Oct 2004

    Posted 27 Feb 2007 Link to this post


    r.a.d.controls version 4.2, r.a.d.panelbar 4.1,
    r.a.d.tabstip 3.4, r.a.d.treeview 6.1

    .NET version


    Visual Studio version


    programming language

    C#, VB.NET

    browser support

    all browsers supported by r.a.d.controls


    A working application demonstration databinding of navigational controls to various Data Sources:

    • AccessDataSource
    • SqlDataSource
    • SiteMapDataSource
    • XmlDataSource
    • ObjectDataSource
    • ArrayList
    • Dynamically Created Table
    • Sql Table
    • Access Table

    ItemDataBound and DataBound events are used to set additional properties or overwrite already set properties.

    This project is a demonstration of the flexibility and prowess of navigational controls with respect to Data Binding.

  2. Peter Georgiev
    Peter Georgiev avatar
    14 posts
    Member since:
    Jan 2006

    Posted 30 Aug 2007 Link to this post

    As of Q1 2007 SP2, Data Binding to XmlDataSource requires the following approach:

    XmlElement element = (XmlElement)e.Item.DataItem;  
    e.Item.ToolTip = "Read more about " + element.Attributes["Text"].Value; 

    Dim element As XmlElement = DirectCast(e.Item.DataItem, XmlElement)  
    e.Item.ToolTip = "Read more about " + element.Attributes("Text").Value 
Back to Top

This Code Library is part of the product documentation and subject to the respective product license agreement.