[Missing <summary> documentation for T:DbNetLink.DbNetSuiteVS.GridEditControl]
| C# | Visual Basic |
public abstract class GridEditControl : DatabaseControl
Public MustInherit Class GridEditControl _ Inherits DatabaseControl
| All Members | Methods | Properties | Fields | Events | |
| Icon | Member | Description |
|---|---|---|
| AfterRecordDelete |
Fires after a record is deleted.
| |
| 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.
| |
| AfterRecordUpdate |
Fires after a record is updated.
| |
| BeforeRecordDelete |
Fires before a record is deleted. return true to accept the delete or false to cancel it.
| |
| 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.
| |
| BeforeRecordUpdate |
Fires before a record is updated. return true to accept the update or false to cancel it.
| |
| ClientInfo | ||
| Columns | ||
| 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.
| |
| 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
| |
| FindColumn(String) |
Returns the column from the column collection that matches the supplied column name
| |
| 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.
| |
| FixedFilterParameters |
Parameters used in conjunction with the FixedFilter property
| |
| FromPart |
Database table / tables.
FromPart cannot be viewed from the client so is safe to contain sensitive db information.
| |
| GetCallbackResult()()() | (Inherited from Shared.) | |
| GetColumnByName(String) |
Gets a reference to the Column object using the column name
| |
| GetColumns()()() | ||
| GetScriptDescriptors()()() | (Overrides Shared.GetScriptDescriptors()()().) | |
| GetScriptReferences()()() | (Overrides Shared.GetScriptReferences()()().) | |
| InitialOrderBy |
Defines client sort order when page first loads.
| |
| Insert |
Enables record insertion and adds the insert button to the toolbar
| |
| LoadPostData(String, NameValueCollection) | (Inherited from Shared.) | |
| Navigation |
Sets if the page navigation buttons are added to the toolbar.
| |
| PageInfo |
Sets if the page info ("Page X of Y") is displayed on the toolbar.
| |
| 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.
| |
| RaiseCallbackEvent(String) | (Inherited from Shared.) | |
| RaisePostDataChangedEvent()()() | (Inherited from Shared.) | |
| RecordDeleteError |
Fires when a database error occurs during an delete.
| |
| 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.
| |
| 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.
| |
| RowInfo |
Sets if the row info ("x Rows") is displayed on the toolbar.
| |
| 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.
| |
| Search |
Sets if the search button is added to the toolbar.
| |
| 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.
| |
| 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
| |
| 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
| |
| 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.
|