Version

EditingCore Class Members

The following tables list the members exposed by EditingCore.

Public Constructors
 NameDescription
Public ConstructorEditingCore Constructor  
Public Properties
 NameDescription
Public PropertyAutoCRUDDetermines whether CRUD operations should be automatic or manual. When AutoCRUD is set to 'false', handle RowUpdating, RowDeleting and RowAdding events to perform manual updates. In manual CRUD mode, RowUpdated, RowDeleted and RowAdded events are not fired.  
Public PropertyBatchUpdatingDetermines whether CRUD operations batch on the client or immediately go back to the server.  
Public PropertyBehaviorsCollection of child behaviors supported by the editing behavior. These are: CellEditing, Deliting, Adding new rows.  
Public PropertyEditingClientEventsList of events which are fired on client side.  
Public PropertyEnableChildlessRowsPopulationThis property should be used only for WebHierarchicalDataGrid control. Indicates whether an empty row island should be created for a child band that does not have any rows. The row island and the expansion indicator are not visible on the client until a row is added to it via JavaScript. The empty row island is only present on the client if the WebHierarchicalDataGrid is bound to the level that the row island is on. This should be done by setting WebHierarchicalDataGrid.InitialDataBindDepth property. This feature is meant to be used with BatchUpdating  
Public PropertyEnabledDetermines if the behavior is enabled. (Inherited from Infragistics.Web.UI.GridControls.GridBehavior)
Public PropertyEnableInheritanceThis property will have an affect only for WebHierarchicalDataGrid and when set to true will enable the behavior for child bands.  
Public PropertyGridA reference to the grid the behavior belongs to. (Inherited from Infragistics.Web.UI.GridControls.GridBehavior)
Public PropertyHasRowAddedHandledIndicates if the row added event is handled.  
Public PropertyHasRowAddingHandledIndicates if the row adding event is handled.  
Public PropertyHasRowDeletedHandledIndicates if the Row Deleting columns event is handled.  
Public PropertyHasRowsDeletingHandledIndicates if the Row Deleting event is handled.  
Public PropertyHasRowUpdatedHandledIndicates if the row updated event is handled.  
Public PropertyHasRowUpdatingHandledIndicates if the row updating event is handled.  
Public PropertyIndexIndex of the behavior inside of the behavior collection. (Inherited from Infragistics.Web.UI.GridControls.GridBehavior)
Public PropertyIsEmptyChecks if ViewState has any property with not a default value. This property should be overriden by extended class when additional subobjects are supported. IsEmpty will then check each subobject and return a value based on the check of those objects plus itself. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Public PropertyNameOverridden. Overriden. Keeps the behavior name.  
Public PropertyOwnerCollectionA reference to the grid behavior collection. (Inherited from Infragistics.Web.UI.GridControls.GridBehavior)
Protected Properties
 NameDescription
Protected PropertyAdditionalClientState (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected PropertyCollectionData (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected PropertyControlRunBotReturns reference to the Grid's runbot (Inherited from Infragistics.Web.UI.GridControls.GridBehavior)
Protected PropertyDelayLoadingClientCollectionsCustomizes the client collections loading. If true the collections will be loaded after view state has been loaded. If false the collections will be loaded in RunBot.HandleOnInit. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected PropertyExemptedRowsA collection of IDPairs for rows that were exempted from deletion.  
Protected PropertyIsTrackingViewStateThis method returns a boolean value which indicates whether ViewState is being tracked for the object. Once viewstate is being tracked, all property changes are roundtripped from server to client and back within the ViewState hidden field. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected PropertyPropCountReturns number of properties for the client state supported by the behavior. (Inherited from Infragistics.Web.UI.GridControls.GridBehavior)
Protected PropertyRequiresDataBindingIndicates if the behavior requires data binding when added or removed from grid's behavior collection. (Inherited from Infragistics.Web.UI.GridControls.GridBehavior)
Protected PropertyTransactionLists (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected PropertyViewStateProperty to return the ViewState bag for the object. If none exist, then one is created. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Public Methods
 NameDescription
Public MethodCloneClones the object (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Public MethodCopyToOverridden. Copy properties of this to obj.  
Public MethodIsDirtyOverloaded. This method determines if the property with the specified Id within the ViewState bag is dirty and needs to be sent to and from the client. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Public MethodOnRowAddedFires the RowAdded event. Called by add new row whenever a row is Added.  
Public MethodOnRowAddingOverloaded. Fires the RowAdding event. Called by add new row whenever a row is being added.  
Public MethodOnRowDeletedFires the RowDeleted event. Called by deletion whenever a row is deleted.  
Public MethodOnRowDeletingFires the RowsDeleting event. Called by deletion whenever a row is about to be deleted.  
Public MethodOnRowUpdatedFires the RowUpdated event. Called by the editing whenever a row has been updated.  
Public MethodOnRowUpdatingOverloaded. Fires the RowUpdating event. Called by the editing whenever a row is being updated.  
Public MethodToStringReturns string representation of the object. (Inherited from Infragistics.Web.UI.GridControls.GridBehavior)
Protected Methods
 NameDescription
Protected MethodCreateBehaviorsOverridden. The method is called whenevr the child behavior collection must be created.  
Protected MethodCreateClientEventsOverridden. Overriden. Client events supported by the editing behaviors.  
Protected MethodCreateNewInstanceCreates a new instance of the current type using the default constructor. Derived classes may override the method if there is no parameterless constructor or any other custom logic applies. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodDelaySourceFilteringDelays the source filtering.  
Protected MethodEnsureReferencesEnsures that the behavior container has proper references to its owner control. (Inherited from Infragistics.Web.UI.GridControls.GridBehaviorContainer)
Protected MethodFlushEmpties the positional and occasional property stringBuffers and converts them to a string representation that can be written to the response stream. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodGetBehaviorsWhen implemented by a derived class the method returns a reference to the child behaviors collection. (Inherited from Infragistics.Web.UI.GridControls.GridBehaviorContainer)
Protected MethodGetClientPropertiesArray (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodGetRoleCountOverridden. The amount of Stylable roles on the behavior.  
Protected MethodGetRoleInfoOverridden. Gets the RoleInfo object at the specified index.  
Protected MethodLoadAdditionalClientStateThis method is called when additional information is passed from the client, via the _saveAdditionalClientState javascript method (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodLoadClientCollectionsLoads the Collections that were sent down to the client, back into the control. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodLoadClientCollectionsTransactionListReads the TransactionList and repopulates the collections of the control. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodLoadClientObjectsOverrides loading of the client objects. (Inherited from Infragistics.Web.UI.GridControls.GridBehaviorContainer)
Protected MethodLoadClientObjectsTransactionListOverrides loading of the client TransactionList, so that each behavior's TransactionList is properly loaded. (Inherited from Infragistics.Web.UI.GridControls.GridBehaviorContainer)
Protected MethodLoadClientProperties (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodLoadClientPropsTransactionListReads the Transaction List and repopulates the properties of the control. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodLoadClientStateThis method takes the state from the client and loads the control's Properties, Objects, and Collections, that were sent down to the client on the last post. It also stores the TransactionLists for the Properties, Objects, and Collections. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodLoadClientStateFromViewStateChecks to see if ClientState was saved into Viewstate, if so, then it loads. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodLoadCollectionsStateFromViewStateLoads the saved into view state client collections and deserializes the string as it came from the client side. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodLoadOccasionalProperties (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodLoadOccasionalProperty (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodLoadPositionalPropertiesLoads client state properties from the client (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodLoadPositionalPropertyLoad positional property at index (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodLoadTransactionListLoads the transaction list. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodLoadViewStateOverrides loading of the view state. (Inherited from Infragistics.Web.UI.GridControls.GridBehaviorContainer)
Protected MethodMultiInstancesAllowedIndicates whether functionality can be added into the functionality collection multiple times. (Inherited from Infragistics.Web.UI.GridControls.GridBehavior)
Protected MethodOnActionOverridden. Overriden. The method is called by the framework to ogive the behavior a chance to process actions related to it. The editing behavior processes all editing related actions here.  
Protected MethodOnCallbackCreatedOverridden. Called when an asynchrohous request is initiated by the behavior.  
Protected MethodOnCallbackRenderOverridden. Called when the behavior needs to returns its response to an asynchrohous request.  
Protected MethodOnItemCommandCalled for every behavior to give it a chance to handle the command bubbled from inside of the child controls collection of the grid. (Inherited from Infragistics.Web.UI.GridControls.GridBehavior)
Protected MethodOnLoadOverridden. Called whenever the behavior is being loaded. This is usually a good place to hook up to all of the internal events.  
Protected MethodOnPartialClear (Inherited from Infragistics.Web.UI.GridControls.GridBehaviorContainer)
Protected MethodOnPropertyChangeOverloaded. Virtual method that is called whenever a server state property within the object has been changed. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodOnUnloadOverridden. Overrides the parent class' method. Frees all event handler of the behavior.  
Protected MethodPreFetchPositionalClientPropertyFetch a positional property from the transaction list before the properties are loaded. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodPrepareDataForDataSourcePrepares data for the data source  
Protected MethodRegisterScriptsOverridden. Overriden. Registers behavior's scripts with the framework.  
Protected MethodResetClientStateResets the positional and occasional property stringBuffers to initial empty values. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodSaveClientCollectionsSaves all Collections that should go to the client into a javascript array. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodSaveClientObjectsOverrides saving client objects. (Inherited from Infragistics.Web.UI.GridControls.GridBehaviorContainer)
Protected MethodSaveClientPropertiesOverloaded. Overridden. Saves extra properties to send to the client.  
Protected MethodSaveClientStateToViewStateIf the control is not visible, we don't want to loose our ClientState during the next postback, so lets store it in ViewState. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodSaveCollectionsStateToViewStateSaves the client collections state as string into the view state. This way we can skip the expensive serialization on the client side and not send them at all. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodSaveViewStateOverrides saving the view state. (Inherited from Infragistics.Web.UI.GridControls.GridBehaviorContainer)
Protected MethodTrackViewStateOverrides tracking the view state. (Inherited from Infragistics.Web.UI.GridControls.GridBehaviorContainer)
Protected MethodWriteAdditionalClientPropertiesCalled by the framework for the behavior to add its additional client roperties. (Inherited from Infragistics.Web.UI.GridControls.GridBehavior)
Protected MethodWriteClientCollections (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodWriteClientObjects (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodWriteClientOnlyPropertyStores the property in hashtable, that will be rendered down to the client. Client only properties only get sent down to the client, they do not get sent back to the server. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodWriteClientProperties (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodWriteClientStateResponsible for rendering javascript array of all client properties, events, objects and collections Calls helper methods to render each in turn. That method is called to render parameter for initialization (constructor) java-script function. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodWritePositionalPropertyWrites the passed in property value at the current position of the ClientState serialization. The property is serialized to the positional properties string of the ClientState string. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Public Events
 NameDescription
Public EventRowAddedEvent that is fired when a row is added and EditingCore.AutoCRUD is set to true.  
Public EventRowAddingEvent that is fired every time a row is about to be added. Handle this event to do manual update when EditingCore.AutoCRUD is set to false.  
Public EventRowDeletedEvent that is fired when a row is deleted and EditingCore.AutoCRUD is set to true.  
Public EventRowsDeletingEvent that is fired every time a row is about to be deleted. Handle this event to do manual delete when EditingCore.AutoCRUD is set to false.  
Public EventRowUpdatedEvent that is fired when a row has been updated and EditingCore.AutoCRUD is set to true.  
Public EventRowUpdatingEvent that is fired every time a row is about to be updated in the database. Handle this event to do manual update when EditingCore.AutoCRUD is set to false.  
See Also