ASP.NET Super Form - Documentation - SuperForm

Obout.SuperForm namespace
Obout.SuperForm.SuperForm class
<%@ Register TagPrefix="obout" Namespace="Obout.SuperForm" Assembly="obout_SuperForm" %>
Properties
Name Description
property AccessKey String. Gets or sets the access key that allows you to quickly navigate to the Web server control.
property AllowPaging Bool. Gets or sets a value indicating whether the paging feature is enabled.

See also working example.
property AutoGenerateDeleteButton Bool. Gets or sets a value indicating whether the built-in control to delete the current record is displayed in a Super Form control.
property AutoGenerateDateFields Bool. Gets or sets a value indicating whether the auto generated Date / DateTime fields will be converted to fields of type DateField.
property AutoGenerateEditButton Bool. Gets or sets a value indicating whether the built-in controls to edit the current record are displayed in a Super Form control.
property AutoGenerateInsertButton Bool. Gets or sets a value indicating whether the built-in controls to insert a new record are displayed in a Super Form control.
property AutoGenerateRows Bool. Gets or sets a value indicating whether row fields for each field in the data source are automatically generated and displayed in a Super Form control.

See also working example.
property ClientSideEvents ClientSideEvents. Used to set up the client-side event handlers for the form.
property DataKeyNames String. Gets or sets an array that contains the names of the key fields for the data source.

See also working example.
property DataSource Object. Gets or sets the object from which the data-bound control retrieves its list of data items.
property DataSourceID String. Gets or sets the ID of the control from which the data-bound control retrieves its list of data items.
property DefaultMode DetailsViewMode. Get or sets the default data-entry mode of the Super Form control.

See also working example.
property Direction Direction. Gets or sets a value indicating the direction in which the fields will be displayed.

See also working example.
property Enabled Bool. Gets or sets a value indicating whether the control is enabled.
property EnableButtonsOnChange Bool. Gets or sets a value indicating whether the command buttons (Update, Insert) will be disabled initially and enabled only when the value of one of the fields is changed by the end user.

See also working example.
property Fields DataControlFieldCollection. Gets a collection of DataControlField objects that represent the explicitly declared row fields in a Super Form control.
property FieldSets FieldSetRow. Gets a collection of FieldSetRow objects that represent the field set rows in a Super Form control.

See also working example.
property FolderStyle String. Gets or sets a value indicating the folder from which the styles for the control will be loaded.

See also working example.
property InterfaceFolderStyle String. Gets or sets a value indicating the folder from which the styles will be loaded for the Interface Controls used by the Super Form control.

See also working example.
property Title String. Gets or sets a value indicating the text that will be displayed in the heading of the control.
property ValidationGroup String. Gets or sets the validation group that will be applied to all the fields of the form.
property Width Unit. Gets or sets the width of the Web server control.

See also working example.
Events
Name Description
property DataBinding Occurs when the server control binds to a data source.
property DataBound Occurs after the server control binds to a data source.
property Disposed Occurs when a server control is released from memory, which is the last stage of the server control lifecycle when an ASP.NET page is requested.
property Init Occurs when the server control is initialized, which is the first step in its lifecycle.
property ItemCommand Occurs when a button within a Super Form control is clicked.
property ItemCreated Occurs when a record is created in a Super Form control.
property ItemDeleted Occurs when a Delete button within a Super Form control is clicked, but after the delete operation.
property ItemDeleting Occurs when a Delete button within a Super Form control is clicked, but before the delete operation.
property ItemInserted Occurs when an Insert button within a Super Form control is clicked, but after the insert operation.
property ItemInserting Occurs when an Insert button within a Super Form control is clicked, but before the insert operation.
property ItemUpdated Occurs when an Update button within a Super Form control is clicked, but after the update operation.
property ItemUpdating Occurs when an Update button within a Super Form control is clicked, but before the update operation.
property Load Occurs when the server control is loaded into the Page object.
property ModeChanged Occurs when a Super Form control attempts to change between edit, insert, and read-only mode, but after the CurrentMode property is updated.
property ModeChanging Occurs when a Super Form control attempts to change between edit, insert, and read-only mode, but before the CurrentMode property is updated.
property PageIndexChanged Occurs when the value of the PageIndex property changes after a paging operation.
property PageIndexChanging Occurs when the value of the PageIndex property changes before a paging operation.
property PreRender Occurs after the Control object is loaded but prior to rendering.
property Unload Occurs when the server control is unloaded from memory.
Methods
Name Description
property GetFieldControl Control. Returns the underlying control used in add/edit mode to edit the field.

OboutTextBox fieldEditor = SuperForm1.GetFieldControl(fieldIndex) as OboutTextBox;

fieldIndex - the index of the field for which to retrieve the underlying control.

"Great components, great service and great support by the way guys."

Steve

Random testimonial   All testimonials

obout.com 
obout.com Home 
News 
Super Form Home   
Super Form Home 
Examples - 64
First Look - 2 
Quick Setup 
Checkout 
Appearance - 3 
Live Styles 
Live Styles for DateFields New 
Auto Format 
Fields - 10 
Auto Generate Fields 
BoundField 
CheckBoxField 
CommandField 
DateField 
DateField with Time New 
DropDownListField 
MultiLineField 
Password Field New 
TemplateField 
Add / Edit / Delete - 7 
Auto Generate Command Buttons 
Customize Command Buttons 
Request User Confirmation 
Add-Only Form 
Edit-Only Form New 
Default Values for Add New 
Save using Stored Procedures New 
Layout - 7 
Vertical / Horizontal Direction 
Field Sets 
Field Sets with Column Span 
Field Sets with Tabs New 
Multi-Step Wizard New 
Multi-Step Survey New 
Width 
Master / Detail - 4 
Master Grid 
Master ComboBox 
Master ListBox 
Add / Edit in Separate Page 
Templates - 11 
ComboBox Field 
On-Demand ComboBox Field New 
Cascading ComboBox Field 
MultiLevel ComboBox Field 
Multi Select ComboBox Field 
ListBox Field 
Multi Select ListBox Field 
HTML Editor Field  
FileUpload Field 
CheckBoxList Field 
RadioButtonList Field 
Validation - 9 
Required Fields 
Type Validation 
ReqEx & Custom Validation 
Validation Summary 
Validator Callout 
Validate Super Form inside Grid New 
Validate Custom DropDownListField New 
Validate using CompareValidator New 
Validate Linked Fields New 
Masks / Filters - 2 
Edit Masks 
Filters 
Linked Fields / Buttons - 4 
Enable / Disable Command Buttons 
Enable / Disable Linked Fields 
Show / Hide Linked Fields 
Conditional Linked Fields 
Client Side API - 1 
External Buttons New 
Server Side API - 1 
Focus New 
Localization - 1 
Localize Date Fields New 
Integration - 2 
Row Edit Template for Grid New 
Grid Editor inside Window New 
Knowledge Base - 1 
Knowledge Base 
Documentation - 6 
Server-Side 
ClientSideEvents 
Direction 
FieldSet 
FieldSetRow 
SuperForm 
ChangeLog