Show / Hide Table of Contents

Class DnnComboBox

Inheritance
object
Control
WebControl
BaseDataBoundControl
DataBoundControl
ListControl
DropDownList
DnnComboBox
DnnModuleComboBox
DnnSkinComboBox
TermsSelector
Implements
IComponent
IDisposable
IParserAccessor
IUrlResolutionService
IDataBindingsAccessor
IControlBuilderAccessor
IControlDesignerAccessor
IExpressionsAccessor
IAttributeAccessor
IEditableTextControl
ITextControl
IPostBackDataHandler
Inherited Members
DropDownList.AddAttributesToRender(HtmlTextWriter)
DropDownList.CreateControlCollection()
DropDownList.RaisePostDataChangedEvent()
DropDownList.VerifyMultiSelect()
DropDownList.BorderColor
DropDownList.BorderStyle
DropDownList.BorderWidth
DropDownList.SupportsDisabledAttribute
DropDownList.SelectedIndex
ListControl.ClearSelection()
ListControl.LoadViewState(object)
ListControl.OnDataBinding(EventArgs)
ListControl.OnSelectedIndexChanged(EventArgs)
ListControl.OnTextChanged(EventArgs)
ListControl.PerformDataBinding(IEnumerable)
ListControl.PerformSelect()
ListControl.SaveViewState()
ListControl.SetPostDataSelection(int)
ListControl.TrackViewState()
ListControl.AppendDataBoundItems
ListControl.AutoPostBack
ListControl.CausesValidation
ListControl.DataTextField
ListControl.DataTextFormatString
ListControl.DataValueField
ListControl.Items
ListControl.SelectedItem
ListControl.Text
ListControl.ValidationGroup
ListControl.SelectedIndexChanged
ListControl.TextChanged
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.ValidateDataSource(object)
DataBoundControl.DataMember
DataBoundControl.IsUsingModelBinders
DataBoundControl.ItemType
DataBoundControl.SelectMethod
DataBoundControl.DataSourceID
DataBoundControl.DataSourceObject
DataBoundControl.SelectArguments
DataBoundControl.CreatingModelDataSource
DataBoundControl.CallingDataMethods
BaseDataBoundControl.ConfirmInitState()
BaseDataBoundControl.EnsureDataBound()
BaseDataBoundControl.OnDataBound(EventArgs)
BaseDataBoundControl.OnInit(EventArgs)
BaseDataBoundControl.DataSource
BaseDataBoundControl.Initialized
BaseDataBoundControl.IsBoundUsingDataSourceID
BaseDataBoundControl.IsDataBindingAutomatic
BaseDataBoundControl.RequiresDataBinding
BaseDataBoundControl.DataBound
WebControl.ApplyStyle(Style)
WebControl.CopyBaseAttributes(WebControl)
WebControl.CreateControlStyle()
WebControl.MergeStyle(Style)
WebControl.Render(HtmlTextWriter)
WebControl.RenderBeginTag(HtmlTextWriter)
WebControl.RenderEndTag(HtmlTextWriter)
WebControl.AccessKey
WebControl.Attributes
WebControl.BackColor
WebControl.ControlStyle
WebControl.ControlStyleCreated
WebControl.CssClass
WebControl.DisabledCssClass
WebControl.Style
WebControl.Enabled
WebControl.EnableTheming
WebControl.Font
WebControl.ForeColor
WebControl.HasAttributes
WebControl.Height
WebControl.IsEnabled
WebControl.SkinID
WebControl.TabIndex
WebControl.TagName
WebControl.ToolTip
WebControl.Width
Control.ResolveAdapter()
Control.HasEvents()
Control.GetRouteUrl(object)
Control.GetRouteUrl(string, object)
Control.GetRouteUrl(RouteValueDictionary)
Control.GetRouteUrl(string, RouteValueDictionary)
Control.GetUniqueIDRelativeTo(Control)
Control.ApplyStyleSheetSkin(Page)
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.CreateChildControls()
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.ClientIDMode
Control.ClientID
Control.ClientIDSeparator
Control.Context
Control.Adapter
Control.DesignMode
Control.Events
Control.ID
Control.IsChildControlStateCleared
Control.EnableViewState
Control.ViewStateMode
Control.IsViewStateEnabled
Control.NamingContainer
Control.IdSeparator
Control.LoadViewStateByID
Control.Page
Control.RenderingCompatibility
Control.TemplateControl
Control.Parent
Control.TemplateSourceDirectory
Control.AppRelativeTemplateSourceDirectory
Control.Site
Control.Visible
Control.UniqueID
Control.HasChildViewState
Control.Controls
Control.ValidateRequestMode
Control.ViewState
Control.ViewStateIgnoresCase
Control.ChildControlsCreated
Control.IsTrackingViewState
Control.Disposed
Control.DataBinding
Control.Init
Control.Load
Control.PreRender
Control.Unload
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DotNetNuke.Web.UI.WebControls.Internal
Assembly: DotNetNuke.Web.dll
Syntax
public class DnnComboBox : DropDownList, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, IEditableTextControl, ITextControl, IPostBackDataHandler

Constructors

DnnComboBox()

Declaration
public DnnComboBox()

Properties

CheckBoxes

Declaration
public virtual bool CheckBoxes { get; set; }
Property Value
Type Description
bool

MultipleSelect

Declaration
public virtual bool MultipleSelect { get; set; }
Property Value
Type Description
bool

OnClientSelectedIndexChanged

Declaration
public virtual string OnClientSelectedIndexChanged { get; set; }
Property Value
Type Description
string

Options

Declaration
public DnnComboBoxOption Options { get; set; }
Property Value
Type Description
DnnComboBoxOption

SelectedValue

Declaration
public override string SelectedValue { get; set; }
Property Value
Type Description
string
Overrides
ListControl.SelectedValue

TagKey

Declaration
protected override HtmlTextWriterTag TagKey { get; }
Property Value
Type Description
HtmlTextWriterTag
Overrides
ListControl.TagKey

Value

Declaration
public string Value { get; set; }
Property Value
Type Description
string

Methods

AddItem(string, string)

Declaration
public void AddItem(string text, string value)
Parameters
Type Name Description
string text
string value

DataBind()

Declaration
public override void DataBind()
Overrides
BaseDataBoundControl.DataBind()

DataBind(string)

Declaration
public void DataBind(string initialValue)
Parameters
Type Name Description
string initialValue

DataBind(string, bool)

Declaration
public void DataBind(string initial, bool findByText)
Parameters
Type Name Description
string initial
bool findByText

FindItemByText(string, bool)

Declaration
public ListItem FindItemByText(string text, bool ignoreCase = false)
Parameters
Type Name Description
string text
bool ignoreCase
Returns
Type Description
ListItem

FindItemByValue(string, bool)

Declaration
public ListItem FindItemByValue(string value, bool ignoreCase = false)
Parameters
Type Name Description
string value
bool ignoreCase
Returns
Type Description
ListItem

FindItemIndexByValue(string)

Declaration
public int FindItemIndexByValue(string value)
Parameters
Type Name Description
string value
Returns
Type Description
int

InsertItem(int, string, string)

Declaration
public void InsertItem(int index, string text, string value)
Parameters
Type Name Description
int index
string text
string value

LoadPostData(string, NameValueCollection)

Declaration
protected override bool LoadPostData(string postDataKey, NameValueCollection postCollection)
Parameters
Type Name Description
string postDataKey
NameValueCollection postCollection
Returns
Type Description
bool
Overrides
DropDownList.LoadPostData(string, NameValueCollection)

OnPreRender(EventArgs)

Declaration
protected override void OnPreRender(EventArgs e)
Parameters
Type Name Description
EventArgs e
Overrides
ListControl.OnPreRender(EventArgs)

RenderContents(HtmlTextWriter)

Declaration
protected override void RenderContents(HtmlTextWriter writer)
Parameters
Type Name Description
HtmlTextWriter writer
Overrides
ListControl.RenderContents(HtmlTextWriter)

Select(string, bool)

Declaration
public void Select(string initial, bool findByText)
Parameters
Type Name Description
string initial
bool findByText

Implements

IComponent
IDisposable
IParserAccessor
IUrlResolutionService
IDataBindingsAccessor
IControlBuilderAccessor
IControlDesignerAccessor
IExpressionsAccessor
IAttributeAccessor
IEditableTextControl
ITextControl
IPostBackDataHandler

Extension Methods

JsonExtensionsWeb.ToJson(object)
ListControlExtensions.AddItem(ListControl, string, string)
ListControlExtensions.DataBind(ListControl, string)
ListControlExtensions.DataBind(ListControl, string, bool)
ListControlExtensions.InsertItem(ListControl, int, string, string)
ListControlExtensions.Select(ListControl, string)
ListControlExtensions.Select(ListControl, string, bool)
ListControlExtensions.Select(ListControl, string, bool, int)
WebControlExtensions.AddCssClass(WebControl, string)
WebControlExtensions.RemoveCssClass(WebControl, string)
Back to top by the community, for the community... #DNNCMS