New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
[EmbeddedSkin("DropDownTree", typeof(RadDropDownTree))]
[EmbeddedSkin("DropDownTree", "Default", typeof(RadDropDownTree))]
[RequiredCss("Telerik.Web.UI.Skins.Common.fonticons.css", RenderMode.Lightweight, typeof(RadDropDownTree))]
[RequiredCss("Telerik.Web.UI.Skins.Common.MaterialRipple.css", RenderMode.Lightweight, typeof(RadButton))]
[RequiredScript(typeof(jQueryPlugins))]
[RequiredScript(typeof(DropDown))]
[RequiredScript(typeof(TouchScrollExtender))]
[RequiredScript(typeof(MaterialRipple))]
[ClientScriptResource("Telerik.Web.UI.RadDropDownTree", "Telerik.Web.UI.DropDownTree.RadDropDownTreeScripts.js")]
[TelerikToolboxCategory("Data")]
public class RadDropDownTree : RadDataBoundControl, IScriptControl, IControlResolver, IPostBackDataHandler, ISkinnableControl, IControl, IFeatureGroup, IPostBackEventHandler, INamingContainer

Inheritance: objectRadDataBoundControlRadDropDownTree

Implements: IControlIControlResolverIFeatureGroupINamingContainerIPostBackDataHandlerIPostBackEventHandlerIScriptControlISkinnableControl...

Inherited Members RadDataBoundControl.ResolveRenderMode()RadDataBoundControl.CanRenderInMode(RenderModeBrowserAdaptor, RenderMode)RadDataBoundControl.PreferredRenderMode(RenderModeBrowserAdaptor)RadDataBoundControl.GetSkinSuffix()RadDataBoundControl.ControlPreRender()RadDataBoundControl.RenderSmartPasteDescriptionAttribute()RadDataBoundControl.ConfigureCombinedScriptFile()RadDataBoundControl.ConfigureCombinedBaseSkinFile()RadDataBoundControl.RegisterScriptControl()RadDataBoundControl.RegisterCssReferences()RadDataBoundControl.RegisterScriptDescriptors()RadDataBoundControl.LoadClientState(Dictionary<string, object>)RadDataBoundControl.SaveClientState()RadDataBoundControl.RenderClientStateField(HtmlTextWriter)RadDataBoundControl.RenderBeginTag(HtmlTextWriter)RadDataBoundControl.RenderEndTag(HtmlTextWriter)RadDataBoundControl.Render(HtmlTextWriter)RadDataBoundControl.RenderScriptsNoScriptManager(HtmlTextWriter)RadDataBoundControl.RenderDescriptorsNoScriptManager(HtmlTextWriter)RadDataBoundControl.ApplyConditionalRendering(HtmlTextWriter)RadDataBoundControl.RenderClassic(HtmlTextWriter)RadDataBoundControl.RenderLite(HtmlTextWriter)RadDataBoundControl.RenderNative(HtmlTextWriter)RadDataBoundControl.InitializeRenderMode()RadDataBoundControl.DescribeRenderingMode(IScriptDescriptor)RadDataBoundControl.DescribeProperty<T>(IScriptDescriptor, string, T, T)RadDataBoundControl.DescribeEvent(IScriptDescriptor, string, string)RadDataBoundControl.GetEmbeddedSkinNames()RadDataBoundControl.GetScriptDescriptors()RadDataBoundControl.GetScriptReferences()RadDataBoundControl.GetViewScriptReference()RadDataBoundControl.RaisePostDataChangedEvent()RadDataBoundControl.GetViewStateValue<T>(string, T)RadDataBoundControl.FeatureGroupIDRadDataBoundControl.RegisterWithScriptManagerRadDataBoundControl.SkinRadDataBoundControl.EnableRippleEffectRadDataBoundControl.EnableEmbeddedScriptsRadDataBoundControl.EnableEmbeddedSkinsRadDataBoundControl.EnableEmbeddedBaseStylesheetRadDataBoundControl.ClientDataSourceIDRadDataBoundControl.DataModelIDRadDataBoundControl.RuntimeSkinRadDataBoundControl.EnableAjaxSkinRenderingRadDataBoundControl.ClientStateFieldIDRadDataBoundControl.RenderModeRadDataBoundControl.ResolvedRenderModeRadDataBoundControl.SupportsAdaptiveRenderingRadDataBoundControl.SupportsNativeRenderingRadDataBoundControl.SupportsLightweightRenderingRadDataBoundControl.DefaultCssClassRadDataBoundControl.IsRenderModeSetRadDataBoundControl.IsBoundUsingODataRadDataBoundControl.IsBoundUsingClientDataSourceRadDataBoundControl.RenderingCompatibilityRadDataBoundControl.ClientIDModeRadDataBoundControl.ScriptManagerRadDataBoundControl.RadScriptManagerRadDataBoundControl.RadStyleSheetManagerRadDataBoundControl.RendererRadDataBoundControl.AccessKeyRadDataBoundControl.BackColorRadDataBoundControl.BorderColorRadDataBoundControl.BorderStyleRadDataBoundControl.BorderWidthRadDataBoundControl.CssClassRadDataBoundControl.EnabledRadDataBoundControl.EnableThemingRadDataBoundControl.ForeColorRadDataBoundControl.FontRadDataBoundControl.HeightRadDataBoundControl.SkinIDRadDataBoundControl.VisibleRadDataBoundControl.WidthRadDataBoundControl.TabIndexRadDataBoundControl.ToolTipRadDataBoundControl.DataMemberRadDataBoundControl.DataSourceRadDataBoundControl.DataSourceIDRadDataBoundControl.EnableViewState...

Constructors

C#
public RadDropDownTree()

Properties

C#
public string AriaLabel { get; set; }
C#
[Bindable(false)]
[ClientControlProperty]
[ClientPropertyName("_autoPostback")]
public bool AutoPostBack { get; set; }
C#
public DropDownTreeButtonSettings ButtonSettings { get; }
C#
[ClientControlProperty]
[ClientPropertyName("_checkBoxes")]
public virtual DropDownTreeCheckBoxes CheckBoxes { get; set; }
C#
[Bindable(false)]
public bool CheckChildNodes { get; set; }
C#
[Bindable(false)]
[ClientControlProperty]
[ClientPropertyName("_checkNodeOnClick")]
public bool CheckNodeOnClick { get; set; }
C#
protected DropDownTreeEntryCollection Children { get; }
C#
[Browsable(false)]
public virtual string ClientNodeTemplate { get; set; }
C#
public AnimationSettings CollapseAnimation { get; }

Controls

ControlCollection

C#
public override ControlCollection Controls { get; }
C#
protected override string CssClassFormatString { get; }

Overrides: RadDataBoundControl.CssClassFormatString

C#
public CultureInfo Culture { get; set; }
C#
public List<DropDownNodeBinding> DataBindings { get; set; }
C#
public string DataFieldID { get; set; }
C#
public string DataFieldParentID { get; set; }
C#
public string DataTextField { get; set; }
C#
public string DataValueField { get; set; }
C#
[Bindable(false)]
[ClientControlProperty]
[ClientPropertyName("_defaultMessage")]
public virtual string DefaultMessage { get; set; }
C#
[Bindable(false)]
[ClientControlProperty]
[ClientPropertyName("_defaultValue")]
public string DefaultValue { get; set; }
C#
[Browsable(false)]
[Bindable(false)]
public virtual ITemplate DropDownNodeTemplate { get; set; }
C#
public DropDownSettings DropDownSettings { get; }
C#
public RadTreeView EmbeddedTree { get; }
C#
[ClientControlProperty]
[ClientPropertyName("_enableAriaSupport")]
public bool EnableAriaSupport { get; set; }
C#
[Bindable(false)]
[ClientControlProperty]
[ClientPropertyName("_enableDirectionDetection")]
public bool EnableDirectionDetection { get; set; }
C#
[ClientControlProperty]
[ClientPropertyName("_enableEntryTextHtmlEncoding")]
public bool EnableEntryTextHtmlEncoding { get; set; }
C#
[Bindable(false)]
[ClientControlProperty]
[ClientPropertyName("_enableFiltering")]
public bool EnableFiltering { get; set; }
C#
[Bindable(false)]
[ClientControlProperty]
[ClientPropertyName("_enableScreenBoundaryDetection")]
public bool EnableScreenBoundaryDetection { get; set; }
C#
[Browsable(false)]
public DropDownTreeEntryCollection Entries { get; }
C#
[Bindable(false)]
[ClientControlProperty]
[ClientPropertyName("_entriesDelimiter")]
public string EntriesDelimiter { get; set; }
C#
public AnimationSettings ExpandAnimation { get; }
C#
[Bindable(false)]
[ClientControlProperty]
[ClientPropertyName("_expandNodeOnSingleClick")]
public bool ExpandNodeOnSingleClick { get; set; }
C#
public DropDownTreeFilterSettings FilterSettings { get; }

WebControl

C#
[Browsable(false)]
public WebControl Footer { get; }
C#
[Browsable(false)]
[Bindable(false)]
public virtual ITemplate FooterTemplate { get; set; }
C#
[Bindable(false)]
[ClientControlProperty]
[ClientPropertyName("_fullPathDelimiter")]
public string FullPathDelimiter { get; set; }

Header

WebControl

C#
[Browsable(false)]
public WebControl Header { get; }
C#
[Browsable(false)]
[Bindable(false)]
public virtual ITemplate HeaderTemplate { get; set; }
C#
[TypeConverter(typeof(ExpandableObjectConverter))]
public DropDownTreeButtons Localization { get; }
C#
public string LocalizationPath { get; set; }
C#
public override string ODataDataSourceID { get; set; }

Overrides: RadDataBoundControl.ODataDataSourceID

C#
[ClientControlEvent]
[ClientPropertyName("clearButtonClicked")]
public string OnClientClearButtonClicked { get; set; }
C#
[ClientControlEvent]
[ClientPropertyName("clearButtonClicking")]
public string OnClientClearButtonClicking { get; set; }
C#
[Bindable(false)]
[ClientControlEvent]
[ClientPropertyName("dropDownClosed")]
public string OnClientDropDownClosed { get; set; }
C#
[Bindable(false)]
[ClientControlEvent]
[ClientPropertyName("dropDownClosing")]
public string OnClientDropDownClosing { get; set; }
C#
[Bindable(false)]
[ClientControlEvent]
[ClientPropertyName("dropDownOpened")]
public string OnClientDropDownOpened { get; set; }
C#
[Bindable(false)]
[ClientControlEvent]
[ClientPropertyName("dropDownOpening")]
public string OnClientDropDownOpening { get; set; }
C#
[ClientControlEvent]
[ClientPropertyName("entryAdded")]
public string OnClientEntryAdded { get; set; }
C#
[Bindable(false)]
[ClientControlEvent]
[ClientPropertyName("entryAdding")]
public string OnClientEntryAdding { get; set; }
C#
[ClientControlEvent]
[ClientPropertyName("entryRemoved")]
public string OnClientEntryRemoved { get; set; }
C#
[ClientControlEvent]
[ClientPropertyName("entryRemoving")]
public string OnClientEntryRemoving { get; set; }
C#
[ClientControlEvent]
[ClientPropertyName("load")]
public string OnClientLoad { get; set; }
C#
[Browsable(false)]
[Bindable(true, BindingDirection.TwoWay)]
public string SelectedText { get; set; }
C#
[Browsable(false)]
[Bindable(true, BindingDirection.TwoWay)]
public string SelectedValue { get; set; }
C#
protected override bool SupportsRenderingMode { get; }

Overrides: RadDataBoundControl.SupportsRenderingMode

TagKey

HtmlTextWriterTag

C#
protected override HtmlTextWriterTag TagKey { get; }
C#
[Bindable(false)]
[ClientControlProperty]
[ClientPropertyName("_textMode")]
public DropDownTreeTextMode TextMode { get; set; }
C#
[ClientControlProperty]
[ClientPropertyName("_uniqueId")]
public override string UniqueID { get; }
C#
public WebServiceSettings WebServiceSettings { get; }

Methods

C#
protected override void AddAttributesToRender(HtmlTextWriter writer)
Parameters:writerHtmlTextWriter

Overrides: RadDataBoundControl.AddAttributesToRender(HtmlTextWriter)

C#
protected override void CreateChildControls()
C#
protected DropDownTreeEntryCollection CreateChildItemCollection()
Returns:

DropDownTreeEntryCollection

C#
protected override IRenderer CreateControlRenderer()
Returns:

IRenderer

Overrides: RadDataBoundControl.CreateControlRenderer()

C#
protected virtual void CreateControlRenderer<T>()
C#
public override void DataBind()
C#
protected override void DescribeClientEvents(IScriptDescriptor descriptor)
Parameters:descriptorIScriptDescriptor

Overrides: RadDataBoundControl.DescribeClientEvents(IScriptDescriptor)

C#
protected override void DescribeClientProperties(IScriptDescriptor descriptor)
Parameters:descriptorIScriptDescriptor

Overrides: RadDataBoundControl.DescribeClientProperties(IScriptDescriptor)

C#
protected override void DescribeComponent(IScriptDescriptor descriptor)
Parameters:descriptorIScriptDescriptor

Overrides: RadDataBoundControl.DescribeComponent(IScriptDescriptor)

C#
public void ExpandAllDropDownNodes()
C#
protected DropDownTreeEntry FindEntryByTextAndValue(string text, string value)
Parameters:textstringvaluestringReturns:

DropDownTreeEntry

C#
protected override bool LoadPostData(string postDataKey, NameValueCollection postCollection)
Parameters:postDataKeystringpostCollectionNameValueCollectionReturns:

bool

Overrides: RadDataBoundControl.LoadPostData(string, NameValueCollection)

C#
protected override void LoadViewState(object savedState)
Parameters:savedStateobject
C#
protected virtual void OnEntriesAdded(DropDownTreeEntriesEventArgs e)
Parameters:eDropDownTreeEntriesEventArgs
C#
protected virtual void OnEntriesRemoved(DropDownTreeEntriesEventArgs e)
Parameters:eDropDownTreeEntriesEventArgs
C#
protected virtual void OnEntryAdded(DropDownTreeEntryEventArgs e)
Parameters:eDropDownTreeEntryEventArgs
C#
protected virtual void OnEntryRemoved(DropDownTreeEntryEventArgs e)
Parameters:eDropDownTreeEntryEventArgs
C#
protected override void OnInit(EventArgs e)
Parameters:eEventArgs

Overrides: RadDataBoundControl.OnInit(EventArgs)

C#
protected virtual void OnNodeDataBound(DropDownTreeNodeDataBoundEventArguments e)
Parameters:eDropDownTreeNodeDataBoundEventArguments
C#
protected override void OnPreRender(EventArgs e)
Parameters:eEventArgs

Overrides: RadDataBoundControl.OnPreRender(EventArgs)

C#
public void RaisePostBackEvent(string eventArgument)
Parameters:eventArgumentstring
C#
protected override void RenderContents(HtmlTextWriter writer)
Parameters:writerHtmlTextWriter

Overrides: RadDataBoundControl.RenderContents(HtmlTextWriter)

C#
protected override object SaveViewState()
Returns:

object

C#
public void SyncEmbeddedTree()
C#
protected override void TrackViewState()

Events

C#
public event DropDownTreeEntriesEventHandler EntriesAdded
C#
public event DropDownTreeEntriesEventHandler EntriesRemoved
C#
public event DropDownTreeEntryEventHandler EntryAdded
C#
public event DropDownTreeEntryEventHandler EntryRemoved
C#
public event DropDownTreeNodeDataBoundEventHandler NodeDataBound
In this article
DefinitionConstructorsRadDropDownTree()PropertiesAriaLabelAutoPostBackButtonSettingsCheckBoxesCheckChildNodesCheckNodeOnClickChildrenClientNodeTemplateCollapseAnimationControlsCssClassFormatStringCultureDataBindingsDataFieldIDDataFieldParentIDDataTextFieldDataValueFieldDefaultMessageDefaultValueDropDownNodeTemplateDropDownSettingsEmbeddedTreeEnableAriaSupportEnableDirectionDetectionEnableEntryTextHtmlEncodingEnableFilteringEnableScreenBoundaryDetectionEntriesEntriesDelimiterExpandAnimationExpandNodeOnSingleClickFilterSettingsFooterFooterTemplateFullPathDelimiterHeaderHeaderTemplateLocalizationLocalizationPathODataDataSourceIDOnClientClearButtonClickedOnClientClearButtonClickingOnClientDropDownClosedOnClientDropDownClosingOnClientDropDownOpenedOnClientDropDownOpeningOnClientEntryAddedOnClientEntryAddingOnClientEntryRemovedOnClientEntryRemovingOnClientLoadSelectedTextSelectedValueSupportsRenderingModeTagKeyTextModeUniqueIDWebServiceSettingsMethodsAddAttributesToRender(HtmlTextWriter)CreateChildControls()CreateChildItemCollection()CreateControlRenderer()CreateControlRenderer<T>()DataBind()DescribeClientEvents(IScriptDescriptor)DescribeClientProperties(IScriptDescriptor)DescribeComponent(IScriptDescriptor)ExpandAllDropDownNodes()FindEntryByTextAndValue(string, string)LoadPostData(string, NameValueCollection)LoadViewState(object)OnEntriesAdded(DropDownTreeEntriesEventArgs)OnEntriesRemoved(DropDownTreeEntriesEventArgs)OnEntryAdded(DropDownTreeEntryEventArgs)OnEntryRemoved(DropDownTreeEntryEventArgs)OnInit(EventArgs)OnNodeDataBound(DropDownTreeNodeDataBoundEventArguments)OnPreRender(EventArgs)RaisePostBackEvent(string)RenderContents(HtmlTextWriter)SaveViewState()SyncEmbeddedTree()TrackViewState()EventsEntriesAddedEntriesRemovedEntryAddedEntryRemovedNodeDataBound
Not finding the help you need?
Contact Support