Class DnnComboBox
Inheritance
System.Object
DnnComboBox
Assembly: DotNetNuke.Web.dll
Syntax
public class DnnComboBox : DropDownList
Properties
|
Improve this Doc
View Source
CheckBoxes
Declaration
public virtual bool CheckBoxes { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
MultipleSelect
Declaration
public virtual bool MultipleSelect { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
OnClientSelectedIndexChanged
Declaration
public virtual string OnClientSelectedIndexChanged { get; set; }
Property Value
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
Options
Declaration
public DnnComboBoxOption Options { get; set; }
Property Value
|
Improve this Doc
View Source
SelectedValue
Declaration
public override string SelectedValue { get; set; }
Property Value
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
TagKey
Declaration
protected override HtmlTextWriterTag TagKey { get; }
Property Value
| Type |
Description |
| HtmlTextWriterTag |
|
|
Improve this Doc
View Source
Value
Declaration
public string Value { get; set; }
Property Value
| Type |
Description |
| System.String |
|
Methods
|
Improve this Doc
View Source
AddItem(String, String)
Declaration
public void AddItem(string text, string value)
Parameters
| Type |
Name |
Description |
| System.String |
text |
|
| System.String |
value |
|
|
Improve this Doc
View Source
DataBind()
Declaration
public override void DataBind()
|
Improve this Doc
View Source
DataBind(String, Boolean)
Declaration
public void DataBind(string initial, bool findByText)
Parameters
| Type |
Name |
Description |
| System.String |
initial |
|
| System.Boolean |
findByText |
|
|
Improve this Doc
View Source
DataBind(String)
Declaration
public void DataBind(string initialValue)
Parameters
| Type |
Name |
Description |
| System.String |
initialValue |
|
|
Improve this Doc
View Source
FindItemByText(String, Boolean)
Declaration
public ListItem FindItemByText(string text, bool ignoreCase = false)
Parameters
| Type |
Name |
Description |
| System.String |
text |
|
| System.Boolean |
ignoreCase |
|
Returns
| Type |
Description |
| ListItem |
|
|
Improve this Doc
View Source
FindItemByValue(String, Boolean)
Declaration
public ListItem FindItemByValue(string value, bool ignoreCase = false)
Parameters
| Type |
Name |
Description |
| System.String |
value |
|
| System.Boolean |
ignoreCase |
|
Returns
| Type |
Description |
| ListItem |
|
|
Improve this Doc
View Source
FindItemIndexByValue(String)
Declaration
public int FindItemIndexByValue(string value)
Parameters
| Type |
Name |
Description |
| System.String |
value |
|
Returns
| Type |
Description |
| System.Int32 |
|
|
Improve this Doc
View Source
InsertItem(Int32, String, String)
Declaration
public void InsertItem(int index, string text, string value)
Parameters
| Type |
Name |
Description |
| System.Int32 |
index |
|
| System.String |
text |
|
| System.String |
value |
|
|
Improve this Doc
View Source
LoadPostData(String, NameValueCollection)
Declaration
protected override bool LoadPostData(string postDataKey, NameValueCollection postCollection)
Parameters
| Type |
Name |
Description |
| System.String |
postDataKey |
|
| NameValueCollection |
postCollection |
|
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
OnPreRender(EventArgs)
Declaration
protected override void OnPreRender(EventArgs e)
Parameters
| Type |
Name |
Description |
| EventArgs |
e |
|
|
Improve this Doc
View Source
RenderContents(HtmlTextWriter)
Declaration
protected override void RenderContents(HtmlTextWriter writer)
Parameters
| Type |
Name |
Description |
| HtmlTextWriter |
writer |
|
|
Improve this Doc
View Source
Select(String, Boolean)
Declaration
public void Select(string initial, bool findByText)
Parameters
| Type |
Name |
Description |
| System.String |
initial |
|
| System.Boolean |
findByText |
|
Extension Methods