The GridViewEditBox type exposes the following members.

Constructors

  Name Description
Public method GridViewEditBox
Constructor.

Methods

  Name Description
Protected method btnAddnew_Click
Add new click event.
Protected method btnCancel_Click
Cancel click event.
Protected method btnDelete_Click
Delete click event.
Protected method btnEdit_Click
Edit click event.
Protected method btnFilter_Click
Filter click event.
Protected method btnFilterReset_Click
Filter reset click event.
Protected method btnSave_Click
Save click event.
Public method DataBind()()()()
Executes the need datasource event handler to get the source only if datasource is null, and performs the grid data bind.
(Overrides Control..::..DataBind()()()().)
Public method DataBind(Boolean)
Executes the need datasource event handler to get the source only if datasource is null, and performs the grid data bind.
Public method GetEntityFromDataSourceById<(Of <<'(T>)>>)
Get entity from datasource by entity id.
Public method GetEntityFromDataSourceByRowIndex<(Of <<'(T>)>>)
Get entity from datasource by row index.
Public method GetEntityIdFromDataSourceByRowIndex
Get entity ID from datasource by row index.
Public method NewSort
Set new sort expression by entity field.
Public method OnAdd
On Add used to trigger Add event.
Public method OnCancel
On Cancel used to trigger Cancel event.
Public method OnDelete
On Delete used to trigger Delete event.
Public method OnEdit
On Edit used to trigger Edit event.
Protected method OnInit
Overriden OnInit: Template initialization.
(Overrides BasePart..::..OnInit(EventArgs).)
Protected method OnLoad (Overrides BasePart..::..OnLoad(EventArgs).)
Protected method OnNeedDataSource
On need data source used to trigger event.
Protected method OnPreRender (Overrides BasePart..::..OnPreRender(EventArgs).)
Public method OnSave
On Save used to trigger Save event.
Protected method pager_PageIndexChanged
Pager index changed event.
Public method ReBindData
Executes only grid data bind with datasource in hand.
Public method ResetGridPager
Reset the grid's pager back to page 0.
Public method ResetGridSelectedItem
Reset the grid's selected item.
Public method ShowErrorMessage
Show error message used to show the error popup.

Extension Methods

  Name Description
Public Extension Method ConvertTo(Type) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, TypeConverter) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, Boolean) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, TypeConverter, Boolean) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo<(Of <<'(T>)>>)()()()() Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo<(Of <<'(T>)>>)(TypeConverter) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method GetCurrentStackTrace
Gets current stack trace information.
(Defined by ObjectExtension.)
Public Extension Method GetDebugInformation
Gets the debug information for currently executing code.
(Defined by ObjectExtension.)
Public Extension Method GetExecutingMethodName
Gets the executing method name.
(Defined by ObjectExtension.)
Public Extension Method GetPagerTemplate
Gets pager template.
(Defined by ControlExtension.)
Public Extension Method GetPropertyType
Gets a property type.
(Defined by ObjectExtension.)
Public Extension Method GetPropertyValue
Gets a property or field value from the object (Dot notation enabled).
(Defined by ObjectExtension.)
Public Extension Method PropertyExists
Check if property exists.
(Defined by ObjectExtension.)
Public Extension Method SetPropertyValue
Sets a property or field value to the object (Dot notation enabled).
(Defined by ObjectExtension.)

Fields

  Name Description
Protected field btnAddnew
btnAddnew control.
Protected field btnCancel
btnCancel control.
Protected field btnFilter
btnFilter control.
Protected field btnFilterReset
btnFilterReset control.
Protected field btnHiddenAddnew
btnHiddenAddnew control.
Protected field btnHiddenSave
btnHiddenSave control.
Protected field btnSave
btnSave control.
Protected field btnTopCancel
btnTopCancel control.
Protected field btnTopSave
btnTopSave control.
Protected field grdData
grdData control.
Protected field gridScriptManager
gridScriptManager control.
Protected field hiddenException
hiddenException control.
Protected field hiddenInnerException
hiddenInnerException control.
Protected field labFind
labFind control.
Protected field pager
pager control.
Protected field panCustomFilter
panCustomFilter control.
Protected field panFilter
panFilter control.
Protected field panGrid
panGrid control.
Protected field PlaceHolderContent
PlaceHolderContent control.
Protected field PlaceHolderCustomActions
PlaceHolderCustomActions control.
Protected field PlaceHolderCustomFilter
PlaceHolderCustomFilter control.
Protected field plhActions
plhActions control.
Protected field plhBottomActions
plhBottomActions control.
Protected field plhTopActions
plhTopActions control.
Protected field txtFilter
txtFilter control.
Protected field upGridBox
upGridBox control.

Properties

  Name Description
Public property ButtonAddnew
Gets a reference to the add new button.
Public property ButtonCancel
Gets a reference to the cancel button.
Public property ButtonHiddenSave
Gets a reference to the hidden save button.

Note: Hidden save button is used to fix the issue when user perform multiple clicks on save button.

Public property ButtonSave
Gets a reference to the save button.
Public property ButtonTopCancel
Gets a reference to the top cancel button.
Public property ButtonTopSave
Gets a reference to the top save button.
Public property Columns
Gets the grid columns.
Public property ContentTemplate
Gets or sets the content template used to add the input form controls.
Public property ContentVisible
Gets or sets the flag if content template is visible.
Public property Controls
Gets a System.Web.UI.ControlCollection object that represents the child controls for a specified server control in the UI hierarchy.
(Overrides Control..::..Controls.)
Public property CurrentDataManager
Gets or sets current data manager used for control binding.
Public property CurrentRecord
Gets or sets the current record.
Public property CustomActionsTemplate
Gets or sets the custom actions template used to add custom action buttons below the grid.
Public property CustomFilterTemplate
Gets or sets the custom filter template used to filter out the grid data source.
Public property DataSource
Gets or sets the data source.
Public property EmptyDataTemplate
Gets or sets the empty data template inside the grid.
Public property Filter
Gets or sets basic filter.
Public property Grid
Gets the reference to the grid.
Public property IsInInsertMode
Gets if grid is in insert mode.
Public property Pager
Gets the reference to the pager.
Public property RepositoryType
Gets or sets Repository type used for Grid automation tasks.
Public property SelectedEntity
Gets the selected entity.
Public property SelectedId
Gets selected id.
Public property SelectedIndex
Gets selected id.
Public property ShowActionColumn
Gets or sets if grid actions are visible.
Public property ShowAddNewAction
Gets or sets if add new action is visible.
Public property ShowBottomActions
Gets or sets if bottom actions are visible.
Public property ShowCustomActions
Gets or sets if custom actions are visible.
Public property ShowCustomFilter
Gets or sets if custom filter is visible.
Public property ShowDeleteAction
Gets or sets if delete action is visible.
Public property ShowEditAction
Gets or sets if edit action is visible.
Public property ShowFilter
Gets or sets if grid filter is visible.
Public property ShowSaveAction
Gets or sets if save action is visible.
Public property ShowTopActions
Gets or sets if top actions are visible.
Public property Sorter
Gets or sets sort expression.
Public property UpdateMode
Gets or sets Grid update panel update mode.
Public property ValidationGroup
Gets or sets validation group.
Public property WorkDirectlyWithDatabase
Gets or sets if control should work directly with database.

Events

  Name Description
Public event Add
Add new entity event.
Public event Cancel
Cancel entity modifications event.
Public event Canceled
Cancel finished event.
Public event Delete
Deleted entity event (Occurs when the delete is performed).
Public event Deleted
Deleted entity event (Occurs after the delete is performed).
Public event Deleting
Deleting entity event (Occurs before the delete is performed).
Public event Edited
Edited entity event.
Public event Editing
Editing entity event.
Public event FilterReset
Filter reset event.
Public event FilterReseted
Filter reseted event.
Public event GenerateFilter
Generate filter event used to generate basic and custom filter.
Public event NeedDataSource
Need data source event used to fetch the data source for the grid.
Public event NeedDataSourceFilter
Need data source filter event used to fetch filtered data source for the grid.
Public event Save
Save entity event.
Public event Sorting
Sorting event.

See Also