A DropDownList adapter to add OptGroup support to HTML SELECT tags. The group to which each item belongs should be specifed by adding a "Group" attribute to that ListItem with the group text as its value.
Namespace: NetQuarry
Assembly: EAP.WebControls (in EAP.WebControls.dll)
Syntax
| Visual Basic (Declaration) |
|---|
| Public Class OptionGroupAdapter Inherits WebControlAdapter |
| C# |
|---|
| public class OptionGroupAdapter : WebControlAdapter |
| C++ |
|---|
| ref class OptionGroupAdapter : WebControlAdapter |
| J# |
|---|
| public class OptionGroupAdapter extends WebControlAdapter |
| JScript |
|---|
| public class OptionGroupAdapter extends WebControlAdapter |
Remarks
To install an adapter you must create a .browser file and place it in an "App_Browsers" subfolder of the web project folder.
Inheritance Hierarchy
System.Object
System.Web.UI.Adapters.ControlAdapter
System.Web.UI.WebControls.Adapters.WebControlAdapter
NetQuarry.OptionGroupAdapter
System.Web.UI.Adapters.ControlAdapter
System.Web.UI.WebControls.Adapters.WebControlAdapter
NetQuarry.OptionGroupAdapter
Thread Safety
Public static (Shared in Visual Basic)staticShared members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.