select

PanelBar / Data Bindings

Rate this demo: Feedback
Run example in: C# VB.NET Change Skin:
Vista
  • BlackBlack
  • DefaultDefault
  • ForestForest
  • HayHay
  • Office2007Office2007
  • OutlookOutlook
  • SimpleSimple
  • SitefinitySitefinity
  • SunsetSunset
  • TelerikTelerik
  • VistaVista
  • Web20Web20
  • WebBlueWebBlue
  • Windows7Windows7







Example Source Code & Description

Instructions
Open in new window
  • The DataBindings collection lets you provide different sets of data bindings to the items on different levels of the panelbar. You can even bind the panel items on each level of the panelbar from different tables in a DataSet.
    This example demonstrates how to use databindings to apply declarative mapping of data fields to panel item properties.
            <telerik:RadPanelBar 
                id="RadPanelBar1" 
                runat="server" 
                DataSourceID="AccessDataSource1"
                DataFieldID="id"
                DataFieldParentID="ParentId">
    
            <DataBindings>
                 <telerik:RadPanelItemBinding TextField="Text" />
                 <telerik:RadPanelItemBinding FormatString="Level 1 > {0}" TextField="Text" Depth="1" />
            </DataBindings>
    
            </telerik:RadPanelBar>
        
Compatible with ASP.NET 2.0, 3.5 AJAX enabled Accessibility Verified!Valid XHTML 1.1! Optimized for Visual Studio 2005, 2008
Copyright 2002-2010 © Telerik. All right reserved  | 
Telerik Inc., 460 Totten Pond Rd, Suite 640, Waltham, MA 02451

www.telerik.com  |  Terms of Use  |  Contact Us