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

This Class defines the RadDropDownList.

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")]
[ValidationProperty("SelectedText")]
[TelerikToolboxCategory("Data")]
[ToolboxBitmap(typeof(RadDropDownTree), "Toolbox.Icons.DropDownTree.png")]
public class RadDropDownTree : RadDataBoundControl, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, IScriptControl, IControlResolver, IPostBackDataHandler, ISkinnableControl, IControl, IFeatureGroup, IPostBackEventHandler, INamingContainer

Inheritance: objectControlWebControlBaseDataBoundControlDataBoundControlRadDataBoundControlRadDropDownTree...

Implements: IAttributeAccessorIComponentIControlIControlBuilderAccessorIControlDesignerAccessorIControlResolverIDataBindingsAccessorIDisposableIExpressionsAccessorIFeatureGroupINamingContainerIParserAccessorIPostBackDataHandlerIPostBackEventHandlerIScriptControlISkinnableControlIUrlResolutionService...

Inherited Members DataBoundControl.OnCreatingModelDataSource(CreatingModelDataSourceEventArgs)DataBoundControl.CreateDataSourceSelectArguments()DataBoundControl.GetData()DataBoundControl.GetDataSource()DataBoundControl.MarkAsDataBound()DataBoundControl.OnDataPropertyChanged()DataBoundControl.OnDataSourceViewChanged(object, EventArgs)DataBoundControl.OnLoad(EventArgs)DataBoundControl.OnPagePreLoad(object, EventArgs)DataBoundControl.PerformDataBinding(IEnumerable)DataBoundControl.PerformSelect()DataBoundControl.ValidateDataSource(object)DataBoundControl.DataMemberDataBoundControl.IsUsingModelBindersDataBoundControl.ItemTypeDataBoundControl.SelectMethodDataBoundControl.DataSourceIDDataBoundControl.DataSourceObjectDataBoundControl.SelectArgumentsDataBoundControl.CreatingModelDataSourceDataBoundControl.CallingDataMethodsBaseDataBoundControl.ConfirmInitState()BaseDataBoundControl.EnsureDataBound()BaseDataBoundControl.OnDataBound(EventArgs)BaseDataBoundControl.DataSourceBaseDataBoundControl.InitializedBaseDataBoundControl.IsBoundUsingDataSourceIDBaseDataBoundControl.IsDataBindingAutomaticBaseDataBoundControl.SupportsDisabledAttributeBaseDataBoundControl.RequiresDataBindingBaseDataBoundControl.DataBoundWebControl.ApplyStyle(Style)WebControl.CopyBaseAttributes(WebControl)WebControl.CreateControlStyle()WebControl.MergeStyle(Style)WebControl.Render(HtmlTextWriter)WebControl.RenderBeginTag(HtmlTextWriter)WebControl.RenderEndTag(HtmlTextWriter)WebControl.AccessKeyWebControl.AttributesWebControl.BackColorWebControl.BorderColorWebControl.BorderWidthWebControl.BorderStyleWebControl.ControlStyleWebControl.ControlStyleCreatedWebControl.CssClassWebControl.DisabledCssClassWebControl.StyleWebControl.EnabledWebControl.EnableThemingWebControl.FontWebControl.ForeColorWebControl.HasAttributesWebControl.HeightWebControl.IsEnabledWebControl.SkinIDWebControl.TabIndexWebControl.TagNameWebControl.ToolTipWebControl.WidthControl.ResolveAdapter()Control.HasEvents()Control.GetRouteUrl(object)Control.GetRouteUrl(string, object)Control.GetRouteUrl(RouteValueDictionary)Control.GetRouteUrl(string, RouteValueDictionary)Control.GetUniqueIDRelativeTo(Control)Control.ApplyStyleSheetSkin(Page)Control.OnDataBinding(EventArgs)Control.DataBind(bool)Control.DataBindChildren()Control.AddParsedSubObject(object)Control.EnsureID()Control.ClearChildState()Control.ClearChildControlState()Control.ClearChildViewState()Control.ClearEffectiveClientIDMode()Control.ClearCachedClientID()Control.Focus()Control.LoadControlState(object)Control.MapPathSecure(string)Control.OpenFile(string)Control.BuildProfileTree(string, bool)Control.SaveControlState()Control.RenderChildren(HtmlTextWriter)Control.RenderControl(HtmlTextWriter)Control.RenderControl(HtmlTextWriter, ControlAdapter)Control.OnUnload(EventArgs)Control.Dispose()Control.RaiseBubbleEvent(object, EventArgs)Control.OnBubbleEvent(object, EventArgs)Control.AddedControl(Control, int)Control.CreateControlCollection()Control.ResolveUrl(string)Control.ResolveClientUrl(string)Control.FindControl(string)Control.FindControl(string, int)Control.GetDesignModeState()Control.HasControls()Control.IsLiteralContent()Control.EnsureChildControls()Control.RemovedControl(Control)Control.SetDesignModeState(IDictionary)Control.SetRenderMethodDelegate(RenderMethod)Control.ClientIDModeControl.ClientIDControl.ClientIDSeparatorControl.ContextControl.AdapterControl.DesignModeControl.EventsControl.IDControl.IsChildControlStateClearedControl.EnableViewStateControl.ViewStateModeControl.IsViewStateEnabledControl.NamingContainerControl.IdSeparatorControl.LoadViewStateByIDControl.PageControl.RenderingCompatibilityControl.TemplateControlControl.ParentControl.TemplateSourceDirectoryControl.AppRelativeTemplateSourceDirectoryControl.SiteControl.VisibleControl.HasChildViewStateControl.ValidateRequestModeControl.ViewStateControl.ViewStateIgnoresCaseControl.ChildControlsCreatedControl.IsTrackingViewStateControl.DisposedControl.DataBindingControl.InitControl.LoadControl.PreRenderControl.Unloadobject.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()object.GetType()object.MemberwiseClone()...

Constructors

C#
public RadDropDownTree()

Properties

C#
public string AriaLabel { get; set; }

Gets or sets a value indicating whether a postback to the server automatically occurs when the user changes the RadDropDownTree selection.

C#
[Bindable(false)]
[ClientControlProperty]
[ClientPropertyName("_autoPostback")]
public bool AutoPostBack { get; set; }

Used to customize the appearance of the buttons displayed by RadDropDownTree.

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public DropDownTreeButtonSettings ButtonSettings { get; }

Get or sets the CheckBox state of the RadDropDownTree.

C#
[ClientControlProperty]
[ClientPropertyName("_checkBoxes")]
public virtual DropDownTreeCheckBoxes CheckBoxes { get; set; }

Gets or sets a value indicating whether checking (unchecking) a node will check (uncheck) its child nodes.

C#
[Bindable(false)]
public bool CheckChildNodes { get; set; }

Gets or sets a value indicating whether the DropDownNodes expands on single click.

C#
[Bindable(false)]
[ClientControlProperty]
[ClientPropertyName("_checkNodeOnClick")]
public bool CheckNodeOnClick { get; set; }
C#
protected DropDownTreeEntryCollection Children { get; }

Gets or sets the HTML template of a DropDownNode when added on the client.

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
[Browsable(false)]
public virtual string ClientNodeTemplate { get; set; }

Gets the settings for the animation played when the dropdown closes.

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public AnimationSettings CollapseAnimation { get; }
Property Value:

An AnimationSettings that represents the collapse animation.

Use the CollapseAnimation property to customize the expand animation of RadDropDownTree. You can specify the Type and Duration. To disable collapse animation effects you should set the Type to AnimationType.None.
To customize the expand animation you can use the ExpandAnimation property.

Example:
cs-api-definition
void Page_Load(object sender, EventArgs e)
{
RadDropDownTree1.CollapseAnimation.Type = AnimationType.Linear;
RadDropDownTree1.CollapseAnimation.Duration = 300;
}

Gets a ControlCollection object that represents the child controls for a specified server control in the UI hierarchy.

C#
public override ControlCollection Controls { get; }
Property Value:

The collection of child controls for the specified server control.

Overrides: Control.Controls

The CssClass property will now be used instead of the former Skin and will be modified in AddAttributesToRender()

C#
protected override string CssClassFormatString { get; }

Overrides: RadDataBoundControl.CssClassFormatString

Example:
C#
protected override string CssClassFormatString
{
       get
       {
           return "RadDock RadDock_{0} rdWTitle rdWFooter";
       }
}

Gets or sets the selected culture. Localization strings will be loaded based on this value.

C#
public CultureInfo Culture { get; set; }
Property Value:

The culture.

Gets the settings the data binding setting for the RadDropDownTree.

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public List<DropDownNodeBinding> DataBindings { get; set; }

The following property is used in WebService scenarios.

Gets or sets the data field holding the unique identifier for a DropDownTreeNode.

C#
public string DataFieldID { get; set; }

Gets or sets the data field holding the ID of the parent DropDownTreeNode.

C#
public string DataFieldParentID { get; set; }

Gets or sets the data field holding the Text property for the currently bound DropDownTreeNode.

C#
public string DataTextField { get; set; }

Gets or sets the data field holding the Value property for the currently bound DropDownTreeNode.

C#
public string DataValueField { get; set; }

Gets or sets a value indicating what message will be displayed then the control is empty (no entries selected).

C#
[Bindable(false)]
[ClientControlProperty]
[ClientPropertyName("_defaultMessage")]
public virtual string DefaultMessage { get; set; }

Gets or sets the default value of the control used for validation.

C#
[Bindable(false)]
[ClientControlProperty]
[ClientPropertyName("_defaultValue")]
public string DefaultValue { get; set; }

Gets or sets the template for displaying all DropDownTreeNode in the current tree.

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
[Browsable(false)]
[Bindable(false)]
[TemplateContainer(typeof(RadTreeNode))]
public virtual ITemplate DropDownNodeTemplate { get; set; }
Property Value:

An object implementing the ITemplate interface. The default value is a null reference (Nothing in Visual Basic), which indicates that this property is not set.

Gets the DropDown settings.

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public DropDownSettings DropDownSettings { get; }

Gets a reference to the embedded tree

C#
public RadTreeView EmbeddedTree { get; }

RadTreeView control is integrated in the RadDropDownTree.

When set to true enables support for WAI-ARIA

C#
[ClientControlProperty]
[ClientPropertyName("_enableAriaSupport")]
public bool EnableAriaSupport { get; set; }

Determines whether the Direction Detection is enabled or not.

C#
[Bindable(false)]
[ClientControlProperty]
[ClientPropertyName("_enableDirectionDetection")]
public bool EnableDirectionDetection { get; set; }

Gets or sets a value indicating whether RadDropDownTree should HTML encode the text of the entries.

C#
[ClientControlProperty]
[ClientPropertyName("_enableEntryTextHtmlEncoding")]
public bool EnableEntryTextHtmlEncoding { get; set; }
Property Value:

true if the text should be encoded; otherwise, false. The default value is false.

Gets or sets a value indicating whether the control filtering is enabled.

C#
[Bindable(false)]
[ClientControlProperty]
[ClientPropertyName("_enableFiltering")]
public bool EnableFiltering { get; set; }

Determines whether the Screen Boundaries Detection is enabled or not.

C#
[Bindable(false)]
[ClientControlProperty]
[ClientPropertyName("_enableScreenBoundaryDetection")]
public bool EnableScreenBoundaryDetection { get; set; }

Gets the RadDropDownTree entries collection.

C#
[Browsable(false)]
[PersistenceMode(PersistenceMode.InnerProperty)]
public DropDownTreeEntryCollection Entries { get; }

Gets or sets a value indicating the delimiter between entries.

C#
[Bindable(false)]
[ClientControlProperty]
[ClientPropertyName("_entriesDelimiter")]
public string EntriesDelimiter { get; set; }

Gets the settings for the animation played when the dropdown opens.

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public AnimationSettings ExpandAnimation { get; }
Property Value:

An AnimationSettings that represents the expand animation.

Use the ExpandAnimation property to customize the expand animation of RadDropDownTree. You can specify the Type and Duration. To disable expand animation effects you should set the Type to AnimationType.None.
To customize the collapse animation you can use the CollapseAnimation property.

Example:
cs-api-definition
void Page_Load(object sender, EventArgs e)
{
RadDropDownTree1.ExpandAnimation.Type = AnimationType.Linear;
RadDropDownTree1.ExpandAnimation.Duration = 300;
}

Gets or sets a value indicating whether the DropDownNodes expands on single click.

C#
[Bindable(false)]
[ClientControlProperty]
[ClientPropertyName("_expandNodeOnSingleClick")]
public bool ExpandNodeOnSingleClick { get; set; }

Used to customize filtering of the RadDropDownTree.

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public DropDownTreeFilterSettings FilterSettings { get; }

Get a footer of RadDropDownTree.

C#
[Browsable(false)]
public WebControl Footer { get; }

Gets or sets the ITemplate that defines the RadDropDownTree footer template.

C#
[TemplateContainer(typeof(RadDropDownTree))]
[PersistenceMode(PersistenceMode.InnerProperty)]
[Browsable(false)]
[Bindable(false)]
public virtual ITemplate FooterTemplate { get; set; }
Property Value:

The footer template.

Gets or sets a value indicating the delimiter in FullPath text mode.

C#
[Bindable(false)]
[ClientControlProperty]
[ClientPropertyName("_fullPathDelimiter")]
public string FullPathDelimiter { get; set; }

Get a header of RadDropDownTree.

C#
[Browsable(false)]
public WebControl Header { get; }

Gets or sets the ITemplate that defines the RadDropDownTree header template.

C#
[TemplateContainer(typeof(RadDropDownTree))]
[PersistenceMode(PersistenceMode.InnerProperty)]
[Browsable(false)]
[Bindable(false)]
public virtual ITemplate HeaderTemplate { get; set; }
Property Value:

The header template.

Gets the localization.

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
[TypeConverter(typeof(ExpandableObjectConverter))]
public DropDownTreeButtons Localization { get; }
Property Value:

The localization.

Gets or sets a value indicating where RadDropDownTree will look for its .resx localization files.

C#
public string LocalizationPath { get; set; }
Property Value:

The localization path.

Gets or sets the ODataDataSource used for data binding.

C#
public override string ODataDataSourceID { get; set; }

Overrides: RadDataBoundControl.ODataDataSourceID

Gets or sets the name of the JavaScript function called on clear button clicked

C#
[ClientControlEvent]
[ClientPropertyName("clearButtonClicked")]
public string OnClientClearButtonClicked { get; set; }

Gets or sets the name of the JavaScript function called on clear button clicking

C#
[ClientControlEvent]
[ClientPropertyName("clearButtonClicking")]
public string OnClientClearButtonClicking { get; set; }

The client-side event that is fired after the dropdown of the DropDownTree is closed.

C#
[Bindable(false)]
[ClientControlEvent]
[ClientPropertyName("dropDownClosed")]
public string OnClientDropDownClosed { get; set; }

The event handler receives two parameter: the instance of the DropDownTree client-side object and event args. The event can not be cancelled

Example:
C#
&lt;script language="javascript"&gt;

function HandleClose(sender, args)
{
alert("Closed dropdown");

}

&lt;/script&gt;


&lt;telerik:RadDropDownTree
id="RadDropDownTree1"
Runat="server"
OnClientDropDownClosed="HandleClose"&gt;
&lt;/telerik:RadDropDownTree&gt;

The client-side event that is fired before the dropdown of the DropDownTree is closed.

C#
[Bindable(false)]
[ClientControlEvent]
[ClientPropertyName("dropDownClosing")]
public string OnClientDropDownClosing { get; set; }

The event handler receives two parameter: the instance of the DropDownTree client-side object and event args. The event can be cancelled - simply set args.set_cancel to true args.set_cancel(true); from the event handler and the DropDownTree dropdown will not be closed.

Example:
C#
&lt;script language="javascript"&gt;

function HandleClose(sender, args)
{
if (someCondition)
{
args.set_cancel(true);
}
else
{
alert("Closing dropdown");
}
}

&lt;/script&gt;


&lt;telerik:RadDropDownTree
id="RadDropDownTree1"
Runat="server"
OnClientDropDownClosing="HandleClose"&gt;
&lt;/telerik:RadDropDownTree&gt;

The client-side event that is fired after the dropdown of the DropDownTree is opened.

C#
[Bindable(false)]
[ClientControlEvent]
[ClientPropertyName("dropDownOpened")]
public string OnClientDropDownOpened { get; set; }

The event handler receives two parameter: the instance of the DropDownTree client-side object and event args. The event cannot be cancelled.

Example:
C#
&lt;script language="javascript"&gt;

function HandleOpen(sender,args)
{
alert("Opening combobox with " + comboBox.get_items().get_count() + " items");

}

&lt;/script&gt;


&lt;telerik:RadDropDownTree
id="RadDropDownTree1"
Runat="server"
OnClientDropDownOpened="HandleOpen"&gt;
&lt;/telerik:RadDropDownTree&gt;

The client-side event that is fired before the dropdown of the DropDownTree is opened.

C#
[Bindable(false)]
[ClientControlEvent]
[ClientPropertyName("dropDownOpening")]
public string OnClientDropDownOpening { get; set; }

The event handler receives two parameter: the instance of the DropDownTree client-side object and event args. The event can be cancelled - simply set args.set_cancel to true args.set_cancel(true); from the event handler and the DropDownTree dropdown will not be opened.

Example:
C#
&lt;script language="javascript"&gt;

function HandleOpen(sender,args)
{
if (someCondition)
{
args.set_cancel(true);
}
else
{
alert("Opening dropDown");
}
}

&lt;/script&gt;


&lt;telerik:RadDropDownTree
id="RadDropDownTree1"
Runat="server"
OnClientDropDownOpening="HandleOpen"&gt;
&lt;/telerik:RadDropDownTree&gt;

Gets or sets the name of the JavaScript function called after an entry has been added

C#
[ClientControlEvent]
[ClientPropertyName("entryAdded")]
public string OnClientEntryAdded { get; set; }

Gets or sets the name of the JavaScript function called when an entry is about to be added

C#
[Bindable(false)]
[ClientControlEvent]
[ClientPropertyName("entryAdding")]
public string OnClientEntryAdding { get; set; }
Example:
C#
function onClientEntryAdding(sender, args)
{
args.set_cancel(true);
}

Gets or sets the name of the JavaScript function called after an entry has been removed

C#
[ClientControlEvent]
[ClientPropertyName("entryRemoved")]
public string OnClientEntryRemoved { get; set; }

Gets or sets the name of the JavaScript function called when an entry is about to be removed

C#
[ClientControlEvent]
[ClientPropertyName("entryRemoving")]
public string OnClientEntryRemoving { get; set; }
Example:
C#
function onClientEntryRemoving(sender, args)
{
args.set_cancel(true);
}

Gets or sets a value indicating the client-side event handler that is called after the RadDropDownTree client-side object is initialized.

C#
[ClientControlEvent]
[ClientPropertyName("load")]
public string OnClientLoad { get; set; }
Property Value:

A string specifying the name of the JavaScript function that will handle the event. The default value is empty string.

If specified, the OnClienLoad client-side event handler is called after the DropDownTree is fully initialized on the client.

A single parameter - the dropdowntree client object - is passed to the handler.

This event cannot be cancelled.

Example:
C#
<p>&lt;script type="text/javascript"&gt;<br />
function onClientLoadHandler(sender)<br />
{<br />
       alert(sender.get_id());<br />
}<br />
&lt;/script&gt;</p>
<p>&lt;telerik:RadDropDownTree ID="RadDropDownTree1"<br />
runat= "server"<br />
    <strong>OnClientLoad="onClientLoadHandler"</strong>&gt;<br />
....<br />
&lt;/telerik:RadDropDownTree&gt;</p>

Gets the entries text with the appropriate delimiter.

C#
[Browsable(false)]
[Bindable(true, BindingDirection.TwoWay)]
[Themeable(false)]
public string SelectedText { get; set; }

Gets the entries values in comma separated list.

C#
[Browsable(false)]
[Bindable(true, BindingDirection.TwoWay)]
[Themeable(false)]
public string SelectedValue { get; set; }
C#
protected override bool SupportsRenderingMode { get; }

Overrides: RadDataBoundControl.SupportsRenderingMode

C#
protected override HtmlTextWriterTag TagKey { get; }

Overrides: WebControl.TagKey

Gets or sets a value indicating whether the entry should show the its full path in the entry area.

C#
[Bindable(false)]
[ClientControlProperty]
[ClientPropertyName("_textMode")]
public DropDownTreeTextMode TextMode { get; set; }

Gets the unique, hierarchically qualified identifier for the server control.

C#
[ClientControlProperty]
[ClientPropertyName("_uniqueId")]
public override string UniqueID { get; }
Property Value:

The fully qualified identifier for the server control.

Overrides: Control.UniqueID

Gets the settings for the web service used to populate nodes when ExpandMode set to WebService.

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public WebServiceSettings WebServiceSettings { get; }

Methods

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

Overrides: RadDataBoundControl.AddAttributesToRender(HtmlTextWriter)

C#
protected override void CreateChildControls()

Overrides: Control.CreateChildControls()

C#
protected DropDownTreeEntryCollection CreateChildItemCollection()
Returns:

DropDownTreeEntryCollection

C#
protected override IRenderer CreateControlRenderer()
Returns:

IRenderer

Overrides: RadDataBoundControl.CreateControlRenderer()

C#
protected virtual void CreateControlRenderer<T>()

Bind the RadDropDownTree control.

C#
public override void DataBind()

Overrides: BaseDataBoundControl.DataBind()

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

Overrides: RadDataBoundControl.DescribeComponent(IScriptDescriptor)

Expands all of the DropDownNodes.

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

DropDownTreeEntry

Executed when post data is loaded from the request

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

Overrides: DataBoundControl.LoadViewState(object)

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

Implements: IPostBackEventHandler.RaisePostBackEvent(string)

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

Overrides: RadDataBoundControl.RenderContents(HtmlTextWriter)

C#
protected override object SaveViewState()
Returns:

object

Overrides: DataBoundControl.SaveViewState()

Synchronize the nodes and the entries collection.

C#
public void SyncEmbeddedTree()

The method is used in cases when some nodes are checked manually.

C#
protected override void TrackViewState()

Overrides: DataBoundControl.TrackViewState()

Events

Occurs after entires are added

C#
public event DropDownTreeEntriesEventHandler EntriesAdded

Occurs after entires are removed

C#
public event DropDownTreeEntriesEventHandler EntriesRemoved

Occurs when an entry is added

C#
public event DropDownTreeEntryEventHandler EntryAdded

Occurs when an entry is removed

C#
public event DropDownTreeEntryEventHandler EntryRemoved
C#
public event DropDownTreeNodeDataBoundEventHandler NodeDataBound
In this article
DefinitionConstructorsRadDropDownTree()PropertiesAriaLabelAutoPostBackButtonSettingsCheckBoxesCheckChildNodesCheckNodeOnClickChildrenClientNodeTemplateCollapseAnimationControlsCssClassFormatStringCultureDataBindingsDataFieldIDDataFieldParentIDDataTextFieldDataValueFieldDefaultMessageDefaultValueDropDownNodeTemplateDropDownSettingsEmbeddedTreeEnableAriaSupportEnableDirectionDetectionEnableEntryTextHtmlEncodingEnableFilteringEnableScreenBoundaryDetectionEntriesEntriesDelimiterExpandAnimationExpandNodeOnSingleClickFilterSettingsFooterFooterTemplateFullPathDelimiterHeaderHeaderTemplateLocalizationLocalizationPathODataDataSourceIDOnClientClearButtonClickedOnClientClearButtonClickingOnClientDropDownClosedOnClientDropDownClosingOnClientDropDownOpenedOnClientDropDownOpeningOnClientEntryAddedOnClientEntryAddingOnClientEntryRemovedOnClientEntryRemovingOnClientLoadSelectedTextSelectedValueSupportsRenderingModeTagKeyTextModeUniqueIDWebServiceSettingsMethodsAddAttributesToRender(HtmlTextWriter)CreateChildControls()CreateChildItemCollection()CreateControlRenderer()CreateControlRenderer<T>()DataBind()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