[Missing <summary> documentation for T:DbNetLink.DbNetSuiteVS.DbNetEdit]
| C# | Visual Basic |
public class DbNetEdit : GridEditControl, INamingContainer
Public Class DbNetEdit _ Inherits GridEditControl _ Implements INamingContainer
| All Members | Constructors | Methods | Properties | Fields | Events |
| Icon | Member | Description |
|---|---|---|
| DbNetEdit()()() | Initializes a new instance of the DbNetEdit class | |
| AfterRecordDelete |
Fires after a record is deleted.
(Inherited from GridEditControl.) | |
| AfterRecordInsert |
Fires after a record is inserted.
If present the identity value (or primary keys) are provided in the Identity array.
The record DataTable is also passed.
(Inherited from GridEditControl.) | |
| AfterRecordUpdate |
Fires after a record is updated.
(Inherited from GridEditControl.) | |
| BeforeRecordDelete |
Fires before a record is deleted. return true to accept the delete or false to cancel it.
(Inherited from GridEditControl.) | |
| BeforeRecordInsert |
Fires before a record is inserted. return true to accept the insert or false to cancel it.
The record to be inserted is passed in a DataTable which can be modified during the event.
(Inherited from GridEditControl.) | |
| BeforeRecordUpdate |
Fires before a record is updated. return true to accept the update or false to cancel it.
(Inherited from GridEditControl.) | |
| ClientInfo | (Inherited from GridEditControl.) | |
| Columns |
Collection of EditColumn objects
| |
| Columns | (Inherited from GridEditControl.) | |
| ColumnValidate |
Use the ColumnValidate event to validate a column value before the edit is applied. Returning false from the handler will prevent the edit from being applied.
(Inherited from GridEditControl.) | |
| ConfigValue(String) | (Inherited from Shared.) | |
| ConnectionString |
Can be either a full connection string or an alias from the web.config <connectionStrings> section.
(Inherited from DatabaseControl.) | |
| Database |
Reference the data access layer
(Inherited from DatabaseControl.) | |
| Delete |
Enables deletion of records and adds the delete button to the toolbar
(Inherited from GridEditControl.) | |
| FindColumn(String) |
Returns the column from the column collection that matches the supplied column name
(Inherited from GridEditControl.) | |
| FixedFilter |
Applies a filter to the data that cannot be modified or removed from the client.
FixedFilter cannot be viewed from the client so is safe to contain sensitive db information.
(Inherited from GridEditControl.) | |
| FixedFilterParameters |
Parameters used in conjunction with the FixedFilter property
(Inherited from GridEditControl.) | |
| FromPart |
Database table / tables.
FromPart cannot be viewed from the client so is safe to contain sensitive db information.
(Inherited from GridEditControl.) | |
| GetCallbackResult()()() | (Inherited from Shared.) | |
| GetColumnByName(String) |
Gets a reference to the Column object using the column name
(Inherited from GridEditControl.) | |
| GetColumns()()() | (Inherited from GridEditControl.) | |
| GetScriptDescriptors()()() | (Overrides GridEditControl.GetScriptDescriptors()()().) | |
| GetScriptReferences()()() | (Overrides GridEditControl.GetScriptReferences()()().) | |
| Height |
Sets the height of the form when the edit form is generated.
| |
| InitialOrderBy |
Defines client sort order when page first loads.
(Inherited from GridEditControl.) | |
| Insert |
Enables record insertion and adds the insert button to the toolbar
(Inherited from GridEditControl.) | |
| LoadPostData(String, NameValueCollection) | (Inherited from Shared.) | |
| Navigation |
Sets if the page navigation buttons are added to the toolbar.
(Inherited from GridEditControl.) | |
| PageInfo |
Sets if the page info ("Page X of Y") is displayed on the toolbar.
(Inherited from GridEditControl.) | |
| ParentControlID |
Identifies a DbNetGrid / DbNetEdit that will be the parent control in a parent child relationship.
The ConnectionString property of the child grid will get set to same value as the parent automacally (if it hasnt been set).
When setting a ParentControlID is is necessary to define columns and set a ForeignKey(s).
If the controls has the same FromPart as its parent (1:1 relationship) and you havent specified any columns then the columns and most other
settings are copied from the parent.
(Inherited from GridEditControl.) | |
| RaiseCallbackEvent(String) | (Inherited from Shared.) | |
| RaisePostDataChangedEvent()()() | (Inherited from Shared.) | |
| RecordDeleteError |
Fires when a database error occurs during an delete.
(Inherited from GridEditControl.) | |
| RecordInsertError |
Fires when a database error occurs during an insert.
The exception is passed as a parameter along with the record DataTable.
Return a custom error message string.
(Inherited from GridEditControl.) | |
| RecordUpdateError |
Fires when a database error occurs during an update.
The exception is passed as a parameter along with the record DataTable's.
Return a custom error message string.
(Inherited from GridEditControl.) | |
| RowInfo |
Sets if the row info ("x Rows") is displayed on the toolbar.
(Inherited from GridEditControl.) | |
| RowValidate |
Use the RowValidate event to validate all modified column values before the edit is applied. Returning false from the handler will prevent the edit from being applied.
(Inherited from GridEditControl.) | |
| Search |
Sets if the search button is added to the toolbar.
(Inherited from GridEditControl.) | |
| SearchDialogHeight |
Fixes the maximum height of the Search Dialog. If the number of search fields causes the height to be exceeded
then the search criteria entry panel will scroll.
(Inherited from GridEditControl.) | |
| SetCulture(String) | (Inherited from Shared.) | |
| SetCultureFromUserLanguage()()() | (Inherited from Shared.) | |
| Update |
Enables record updating and in the case of DbNetGrid, adds the update button to the toolbar
(Inherited from GridEditControl.) | |
| ValidationColumn |
A public property of the component that can be set during any of the custom edit validation events.
if validation fails then the column with the same index number will be highlighted. Leave at -1 to not highlight any column
(Inherited from GridEditControl.) | |
| ValidationMessage |
A public property of the component that can be set during any of the custom edit validation events.
This message will be displayed to the user in the case that custom validation returns false.
(Inherited from GridEditControl.) |
| Object | |||||
| Control | |||||
| Shared | |||||
| DatabaseControl | |||||
| GridEditControl | |||||
| DbNetEdit | |||||