Click or drag to resize
KaxListView Class
KaxListView class
Inheritance Hierarchy
SystemObject
  System.Web.UIControl
    System.Web.UI.WebControlsWebControl
      System.Web.UI.WebControlsBaseDataBoundControl
        System.Web.UI.WebControlsDataBoundControl
          System.Web.UI.WebControlsCompositeDataBoundControl
            KaxCompositeDataBoundControl
              Kettic.AspNet.ControlsKaxListView

Namespace: Kettic.AspNet.Controls
Assembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax
public class KaxListView : KaxCompositeDataBoundControl, 
	IKaxPageableItemContainer, IPostBackEventHandler, IKaxFilterableContainer, IPageableItemContainer

The KaxListView type exposes the following members.

Constructors
  NameDescription
Public methodKaxListView
Top
Methods
  NameDescription
Public methodClearEditItems
Removes all edit items that belong to the KaxListView instance.
Public methodClearSelectedItems
Removes all selected items that belong to KaxListView instance.
Public methodDataBind (Overrides BaseDataBoundControlDataBind.)
Public methodExtractValuesFromItem
The passed IDictionary object (like Hashtable for example) will be filled with the names/values of the corresponding KaxListViewDataItem's bound values and data-key values if included.
Public methodStatic memberIsBindableType
Public methodPerformDelete(KaxListViewDataItem)
Perform asynchronous delete operation, using the DataSourceControl API the Rebinds the grid. Please make sure you have specified the correct DataKeyNames for the KaxListView. When the asynchronous operation calls back, KaxListView will fire ItemDeleted event.
Public methodPerformDelete(KaxListViewDataItem, Boolean)
Perform delete operation, using the DataSourceControl API. Please make sure you have specified the correct DataKeyNames for the KaxListView.
Public methodPerformInsert
Performs asynchronous insert operation, using the DataSourceControl API, then Rebinds. When the asynchronous operation calls back, KaxListView will fire ItemInserted event.
Public methodPerformInsert(KaxListViewInsertItem, Boolean)
Performs asynchronous insert operation, using the DataSourceControl API, then Rebinds. When the asynchronous operation calls back, KaxListView will fire ItemInserted event.
Public methodPerformUpdate(KaxListViewDataItem)
Perform asynchronous update operation, using the DataSource control API and the Rebind method. Please, make sure you have specified the correct DataKeyNames for the KaxListView. When the asynchronous operation calls back, KaxListView will fire ItemUpdated event.
Public methodPerformUpdate(KaxListViewDataItem, Boolean)
Perform asynchronous update operation, using the DataSource control API. Please make sure you have specified the correct DataKeyNames for the KaxListView. When the asynchronous operation calls back, KaxListView will fire ItemUpdated event. The boolean property defines if KaxListView will Rebind after the update.
Public methodRaisePostBackEvent
Public methodRebind
Public methodShowInsertItem
Places the KaxListView in insert mode, allowing user to insert a new data-item values.
Public methodShowInsertItem(IDictionary)
Places the KaxListView in insert mode, allowing user to insert a new data-item values. The InsertItem created will be bound to values found in defaultValues dictionary;
Public methodShowInsertItem(Object)
Places the KaxListView in insert mode, allowing user to insert a new data-item values. The InsertItem created will be bound to the provided object;
Public methodShowInsertItem(KaxListViewInsertItemPosition)
Places the KaxListView in insert mode, allowing user to insert a new data-item values.
Public methodShowInsertItem(KaxListViewInsertItemPosition, IDictionary)
Places the KaxListView in insert mode, allowing user to insert a new data-item values. The InsertItem created will be bound to values found in defaultValues dictionary;
Public methodShowInsertItem(KaxListViewInsertItemPosition, Object)
Places the KaxListView in insert mode, allowing user to insert a new data-item values. The InsertItem created will be bound to the provided object;
Top
Fields
Properties
  NameDescription
Public propertyAllowCustomPaging
Gets or sets if the custom paging feature is enabled.
Public propertyAllowCustomSorting
Gets or sets if the custom sorting feature is enabled.
Public propertyAllowMultiFieldSorting
Gets or sets the value indicating if more than one datafield can be sorted. The order is the same as the sequence of expressions in SortExpressions.
Public propertyAllowMultiItemEdit
Gets or sets a value indicating whether KaxListView will allow you to have multiple items in edit mode. The default value is false.
Public propertyAllowMultiItemSelection
Gets or sets a value indicating whether you will be able to select multiple items in Kettic KaxListView. By default this property is set to false.
Public propertyAllowNaturalSort
Public propertyAllowPaging
Gets or sets a value indicating whether the automatic paging feature is enabled.
Public propertyAlternatingItemTemplate
Gets or sets the custom content for the alternating data item in a KaxListView control.
Public propertyCanRetrieveAllData

Gets or sets a value indicating whether Kettic KaxListView should retrieve all data and ignore server paging in case of sorting.

Public propertyClientDataKeyNames
Public propertyClientSettings
Gets a reference to the KaxListViewClientSettings object that allows you to set the properties of the client-side behavior and appearance in a Kettic KaxListView control.
Public propertyConvertEmptyStringToNull
Gets or sets a value that indicates whether empty string values ("") are automatically converted to null values when the data field is updated in the data source.
Public propertyCurrentPageIndex
Gets or sets a value indicating the index of the currently active page in case paging is enabled (AllowPaging is true).
Public propertyDataKeyNames
Gets or sets an array of data-field names that will be used to populate the DataKeyValues collection, when the KaxListViewcontrol is databinding.
Public propertyDataKeyValues
Public propertyEditIndexes
Public propertyEditItems
Gets a collection of all KaxListViewDataItem in edit mode.
Public propertyEditItemTemplate
Gets or sets the custom content for the item in edit mode.
Public propertyEmptyDataTemplate
Gets or sets the Template that will be displayed if there are no records in the DataSource assigned.
Public propertyEmptyItemTemplate
Gets or sets the user-defined content for the empty item that is rendered in a KaxListView control when there are no more data items to display in the last row of the current data page.
Public propertyFilterExpressions
Gets a collection of filter expressions for KaxListView
Public propertyGroupField
Public propertyGroupFooterTemplate
Gets or sets the custom content for group container in the KaxListView control.
Public propertyGroupHeaderTemplate
Gets or sets the custom content for group container in the KaxListView control.
Public propertyGroupPlaceholderID
Gets or sets the ID for the group placeholder in a KaxListView control.
Public propertyGroupSeparatorTemplate
Gets or sets the user-defined content for the separator between groups in a KaxListView control.
Public propertyGroupSortDirection
Public propertyGroupTemplate
Gets or sets the custom content for group container in the KaxListView control.
Public propertyInsertItem
Gets the insert item of a KaxListView control.
Public propertyInsertItemPosition
Gets or sets the location of the InsertItemTemplate template when it is rendered as part of the KaxListView control.
Public propertyInsertItemTemplate
Gets or sets the custom content for an insert item in the KaxListView control.
Public propertyIsGroupItemsAscendant
Public propertyItemPlaceholderID
Gets or sets the ID for the item placeholder in a KaxListView control.
Public propertyItems
Gets a collection of KaxListViewDataItem objects that represent the data items of the current page of data in a KaxListView control.
Public propertyItemSeparatorTemplate
Gets or sets the custom content for the separator between the items in a KaxListView control.
Public propertyItemTemplate
Gets or sets the custom content for the data item in a KaxListView control.
Public propertyLayoutTemplate
Gets or sets the custom content for the root container in a KaxListView control.
Public propertyOverrideDataSourceControlSorting
Gets or sets a value indicating if the KaxListView should override the default DataSourceControl sorting with its native sorting.
Public propertyPageCount
Gets the number of pages required to display the records of the data source in a KaxListViewcontrol.
Public propertyPageSize
Specify the maximum number of items that would appear in a page, when paging is enabled by AllowPaging property. Default value is 10.
Public propertySelectedIndexes
Gets a collection of indexes of the selected items.
Public propertySelectedItems
Gets a collection of the currently selected KaxListViewDataItems
Public propertySelectedItemTemplate
Gets or sets the custom content for the selected item in a KaxListView control.
Public propertySelectedValue
Gets the data key value of the selected item in a KaxListView control.
Public propertySelectedValues
Public propertySortExpressions
Gets a collection of sort expressions for KaxListView
Public propertyValidationSettings
Gets a reference to the KaxListViewValidationSettings object that allows you to set the properties of the validate operation in a KaxListView control.
Public propertyVirtualItemCount
Top
Events
  NameDescription
Public eventItemCanceling
Occurs when the Cancel command is fired from any KaxListViewDataItem
Public eventItemCommand
Raised when a button in a KaxListView control is clicked.
Public eventItemCreated
Raised when KaxListViewItem is created
Public eventItemDataBound
Raised when KaxListViewItem is data bound
Public eventItemDeleted
Occurs when a delete operation is requested, after the KaxListView control deletes the item.
Public eventItemDeleting
Occurs when a delete operation is requested, but before the KaxListView control deletes the item.
Public eventItemDrop
Occurs when a ListView item is dragged and dropped on an HTML element
Public eventItemEditing
Occurs when an edit operation is requested, but before the KaxListView item is put in edit mode
Public eventItemInserted
Occurs when an insert operation is requested, after the KaxListView control has inserted the item in the data source.
Public eventItemInserting
Occurs when an insert operation is requested, but before the KaxListView control performs the insert.
Public eventItemUpdated
Occurs when the Update command is fired from any KaxListViewDataItem
Public eventItemUpdating
Occurs when the Update command is fired from any KaxListViewDataItem
Public eventLayoutCreated
Raised when LayoutTemplate is created
Public eventNeedDataSource
Raised when the KaxListView is about to be bound and the data source must be assigned.
Public eventPageIndexChanged
Fires when a paging action has been performed.
Public eventPageSizeChanged
Fires when PageSize has been changed.
Public eventSelectedIndexChanged
Fires the SelectedIndexChanged event.
Public eventSorting
Fires when PageSize has been changed.
Top
See Also