Description: DropDownList and ListBox controls the expansion of control: By DropDownList control and ListBox controls. Items.Add (ListItem item) method to add optgroup label, in order to achieve sub-function. The use of Method 1, set attributes: [font = Courier New] OptionGroupValue- used to add a DropDownList (ListBox) control group of the ListItem s Value value (default is [font = Courier New] optgroup) [/ font] 2, the use of DropDownList (ListBox) control. Items.Add (ListItem item) method: OptionGroupValue as the default value: [font = Courier New] SmartDropDownList.Items.Add ([font = Courier New] new ListItem ( China , optgroup )) [/ font] [/ font] [/ font]
File list (Check if you may need any files):
Web
...\App_Code
...\........\OjbData.cs
...\App_Data
...\App_Themes
...\..........\Default
...\..........\.......\Common.css
...\..........\.......\SmartGridView.css
...\..........\.......\SmartGridView.skin
...\Bin
...\...\YYControls.dll
...\...\YYControls.pdb
...\...\YYControls.XML
...\Default.aspx
...\Default.aspx.cs
...\Images
...\......\Asc.gif
...\......\Desc.gif
...\MasterPage.master
...\MasterPage.master.cs
...\SmartDropDownList.aspx
...\SmartDropDownList.aspx.cs
...\SmartGridView.aspx
...\SmartGridView.aspx.cs
...\SmartGridViewAlpha.aspx
...\SmartGridViewAlpha.aspx.cs
...\SmartListBox.aspx
...\SmartListBox.aspx.cs
...\SmartTreeView.aspx
...\SmartTreeView.aspx.cs
...\Web.config
...\Web.sitemap
...\下载说明.txt
...\说明.htm
YYControls
..........\bin
..........\...\Debug
..........\...\Release
..........\Enum.cs
..........\Helper
..........\......\Common
..........\......\......\Attribute.cs
..........\......\......\Control.cs
..........\......\......\Export.cs
..........\......\......\String.cs
..........\......\SmartGridView.cs
..........\obj
..........\...\Debug
..........\...\Release
..........\...\YYControls.csproj.FileList.txt
..........\...\YYControls.csproj.FileListAbsolute.txt
..........\Properties
..........\..........\AssemblyInfo.cs
..........\Resources
..........\.........\Icon.cs
..........\.........\SmartDropDownList.bmp
..........\.........\SmartGridView.bmp
..........\.........\SmartListBox.bmp
..........\.........\SmartTreeView.bmp
..........\SmartDropDownList
..........\.................\OptionGroup
..........\.................\...........\OptionGroup.cs
..........\.................\...........\Property.cs
..........\.................\readme.txt
..........\.................\SmartDropDownList.cs
..........\SmartGridView
..........\.............\CascadeCheckbox
..........\.............\...............\CascadeCheckbox.cs
..........\.............\...............\CascadeCheckboxes.cs
..........\.............\...............\CascadeCheckboxFunction.cs
..........\.............\...............\Property.cs
..........\.............\CheckedRowCssClass
..........\.............\..................\CheckedRowCssClass.cs
..........\.............\..................\CheckedRowCssClassFunction.cs
..........\.............\..................\Property.cs
..........\.............\ClientButton
..........\.............\............\ClientButton.cs
..........\.............\............\ClientButtonFunction.cs
..........\.............\............\ClientButtons.cs
..........\.............\............\Property.cs
..........\.............\ContextMenu
..........\.............\...........\ContextMenu.cs
..........\.............\...........\ContextMenuFunction.cs
..........\.............\...........\ContextMenus.cs
..........\.............\...........\Property.cs
..........\.............\CustomPagerSettings
..........\.............\...................\CustomPagerSettings.cs
..........\.............\...................\CustomPagerSettingsFunction.cs
..........\.............\...................\Property.cs
..........\.............\Event.cs
..........\.............\Export
..........\.............\......\Export.cs
..........\.............\ExtendFunction.cs
..........\.............\FixRowColumn
..........\.............\............\FixRowColumn.cs
..........\.............\............\FixRowColumnFunction.cs
..........\.............\............\Property.cs
..........\.............\GridViewTableCell.cs
..........\.............\Handler.cs