select

ComboBox / Declarative DataSources

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
ObjectDataSource:
select


SqlDataSource:
select


XmlDataSource:
select

Example Source Code & Description

Instructions
Open in new window
  • RadComboBox can be bound to all ASP 2.0 DataSource types:

    AccessDataSource
    ObjectDataSource
    XmlDataSource
    SqlDataSource
    SiteMapDataSource
    LinqDataSource

    All you need to do is set the DataSourceID property of the ComboBox to the ID of the Data Source control. Also, you should set the DataTextField and DataValueField properties of the ComboBox to map the Text and Value properties of the Items to the respective columns/fields in the Data Source.
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