文件名称:yycontrols
- 所属分类:
- ListView/ListBox
- 资源属性:
- [Windows] [Visual.Net] [Basic/ASP] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 569kb
- 下载次数:
- 0次
- 提 供 者:
- 蒙**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
扩展DropDownList控件和ListBox控件:通过DropDownList控件和ListBox控件的.Items.Add(ListItem item)方法,来为其添加optgroup标签,从而实现分组功能。
使用方法
1、设置属性:
[font=Courier New]OptionGroupValue - 用于添加DropDownList(ListBox)控件的分组项的ListItem的Value值(默认为[font=Courier New]optgroup)
[/font]2、使用DropDownList(ListBox)控件的.Items.Add(ListItem item)方法:
OptionGroupValue为默认值时:[font=Courier New]SmartDropDownList.Items.Add([font=Courier New]new ListItem("中国", "optgroup")) [/font][/font]
[/font]
-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]
使用方法
1、设置属性:
[font=Courier New]OptionGroupValue - 用于添加DropDownList(ListBox)控件的分组项的ListItem的Value值(默认为[font=Courier New]optgroup)
[/font]2、使用DropDownList(ListBox)控件的.Items.Add(ListItem item)方法:
OptionGroupValue为默认值时:[font=Courier New]SmartDropDownList.Items.Add([font=Courier New]new ListItem("中国", "optgroup")) [/font][/font]
[/font]
-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]
(系统自动生成,下载前可以参看下载内容)
下载文件列表
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
...\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