A databound control that takes in custom settings list in a SortedList object and creates the hierarchy of the settings controls in two different ways. One shows the grouped settings flat and the other shows the grouped settings in selectable tabs. Notes and Credits: Motive: In the property page of rainbow modules, there are groups of settings. Some people like the old way of look and feel of the settings (befoer svn version 313, some like the new way of grouping the settings into tabs. This modification handles over the power to make choice to the end user by providing an attribute "UseGrouingTabs" which in turn will get value from Rainbow.Framework.Settings (an entry is added over there) that is set by user. What is changed: Many changes in order to implement the functionality and make the control an nice databound control. However, the child control creating logic is NOT changed. Basically, these logic was in the DataBind() function of the previous implementation. Event processing logic is NOT changed. Credits: Most credit should go to the developers who created and modifed the previous class because they created the logic for doing business. I keep their names and comments in the new code and I also keep a copy of the whole old code in the region "Previous SettingsTable control" to honor their contributions. Special Credit: This modification is done per Manu's request and he also gave many good suggestions. Hongwei Shen (hongwei.shen@gmail.com) Oct. 15, 2005
For a list of all members of this type, see SettingsTable Members.
System.Object
Control
WebControl
SettingsTable
[Visual Basic]<(Data:="<{0}:SettingsTable runat=server></{0}:SettingsTable>"), _ (ChildControlType:=System.Web.UI.Control, ChildrenAsProperties:=True), _ (Themeable:=True), _ (Persist:=False, UsesCustomPersistence:=False), _ (Bindable:=True, Direction:=BindingDirection.OneWay), _ (FilterString:="System.Web.UI", FilterType:=ToolboxItemFilterType.Require), _ (DesignerBaseTypeName:="System.ComponentModel.Design.IDesigner", DesignerTypeName:="System.Web.UI.Design.ControlDesigner, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"), _ (Category:="Code"), _ (ToolboxItemType:=System.Web.UI.Design.WebControlToolboxItem, ToolboxItemTypeName:="System.Web.UI.Design.WebControlToolboxItem, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"), _ (SerializerTypeName:="Microsoft.VisualStudio.Web.WebForms.ControlCodeDomSerializer, Microsoft.VisualStudio.Web, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", SerializerBaseTypeName:="System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"), _ (Name:="ID")>Public Class SettingsTable Inherits WebControl Implements [C#][(Data="<{0}:SettingsTable runat=server></{0}:SettingsTable>")][(ChildControlType=System.Web.UI.Control, ChildrenAsProperties=True)][(Themeable=True)][(Persist=False, UsesCustomPersistence=False)][(Bindable=True, Direction=BindingDirection.OneWay)][(FilterString="System.Web.UI", FilterType=ToolboxItemFilterType.Require)][(DesignerBaseTypeName="System.ComponentModel.Design.IDesigner", DesignerTypeName="System.Web.UI.Design.ControlDesigner, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")][(Category="Code")][(ToolboxItemType=System.Web.UI.Design.WebControlToolboxItem, ToolboxItemTypeName="System.Web.UI.Design.WebControlToolboxItem, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")][(SerializerTypeName="Microsoft.VisualStudio.Web.WebForms.ControlCodeDomSerializer, Microsoft.VisualStudio.Web, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", SerializerBaseTypeName="System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")][(Name="ID")]public class SettingsTable : WebControl, [C++][(Data="<{0}:SettingsTable runat=server></{0}:SettingsTable>")][(ChildControlType=System.Web.UI.Control, ChildrenAsProperties=True)][(Themeable=True)][(Persist=False, UsesCustomPersistence=False)][(Bindable=True, Direction=BindingDirection.OneWay)][(FilterString="System.Web.UI", FilterType=ToolboxItemFilterType.Require)][(DesignerBaseTypeName="System.ComponentModel.Design.IDesigner", DesignerTypeName="System.Web.UI.Design.ControlDesigner, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")][(Category="Code")][(ToolboxItemType=System.Web.UI.Design.WebControlToolboxItem, ToolboxItemTypeName="System.Web.UI.Design.WebControlToolboxItem, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")][(SerializerTypeName="Microsoft.VisualStudio.Web.WebForms.ControlCodeDomSerializer, Microsoft.VisualStudio.Web, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", SerializerBaseTypeName="System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")][(Name="ID")]public __gc class SettingsTable : public WebControl, [JScript] public(Data="<{0}:SettingsTable runat=server></{0}:SettingsTable>")(ChildControlType=System.Web.UI.Control, ChildrenAsProperties=True)(Themeable=True)(Persist=False, UsesCustomPersistence=False)(Bindable=True, Direction=BindingDirection.OneWay)(FilterString="System.Web.UI", FilterType=ToolboxItemFilterType.Require)(DesignerBaseTypeName="System.ComponentModel.Design.IDesigner", DesignerTypeName="System.Web.UI.Design.ControlDesigner, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")(Category="Code")(ToolboxItemType=System.Web.UI.Design.WebControlToolboxItem, ToolboxItemTypeName="System.Web.UI.Design.WebControlToolboxItem, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")(SerializerTypeName="Microsoft.VisualStudio.Web.WebForms.ControlCodeDomSerializer, Microsoft.VisualStudio.Web, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", SerializerBaseTypeName="System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")(Name="ID")class SettingsTable extends WebControl,
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
Namespace: Rainbow.Framework.Web.UI.WebControls
Assembly: Rainbow.Framework.Web.UI.WebControls (in Rainbow.Framework.Web.UI.WebControls.dll)
SettingsTable Members | Rainbow.Framework.Web.UI.WebControls Namespace