Skip to main content

ASPxClientCardView Methods

Represents the client ASPxCardView.
Name Description
AddNewCard Adds a new card.
AdjustControl Modifies the control’s size against the control’s container. Inherited from ASPxClientControl.
AdjustControls static Modifies the controls size within the specified container. Inherited from ASPxClientControl.
ApplyFilter(filterExpression) Applies the specified filter expression to the grid.
ApplySearchPanelFilter(value) Applies the specified search panel filter criterion to grid data.
CancelEdit Cancels all the changes made and switches the CardView to browse mode.
Cast(obj) static Converts the specified object to the ASPxClientCardView type.
ClearFilter Clears the filter expression applied to a client CardView.
CloseFilterControl Hides the Filter Control.
CollapseAll Collapses all group rows.
CollapseGroupRow(visibleIndex) Collapses the specified group row.
DeleteCard(visibleIndex) Deletes the specified card.
DeleteCardByKey(key) Deletes a card with the specified key value.
ExpandAll Expands all group rows.
ExpandGroupRow(visibleIndex) Expands the specified group row.
ExportTo(format) Exports grid data to a file in the specified format.
Focus Sets input focus to the grid.
FocusEditor(column) Moves focus to the specified edit cell within the edited card.
GetCardKey(visibleIndex) Returns the key value of the specified card.
GetCardValues(visibleIndex, fieldNames, onCallback) Returns the values of the specified data source fields within the specified card.
GetClientVisible Obsolete. Returns a value specifying whether a control is displayed. Inherited from ASPxClientControlBase.
GetColumn(columnIndex) Returns the client column that resides at the specified position within the column collection.
GetColumnByField(columnFieldName) Returns the client column to which the specified data source field is bound.
GetColumnById(columnId) Returns the column with the specified unique identifier.
GetColumnCount Returns the number of columns within the client grid.
GetControlCollection static Returns a collection of client web control objects. Inherited from ASPxClientControl.
GetEditFormLayout Gets the form layout.
GetEditFormLayoutItemByColumn(column) Gets the edit form layout item.
GetEditFormLayoutItemOrGroup(name) Gets the edit form layout item or group.
GetEditor(column) Returns the editor used to edit the specified column’s values.
GetEditValue(column) Returns the value of the specified edit cell.
GetFocusedCardIndex Returns the focused card’s index.
GetHeight Returns the control’s height. Inherited from ASPxClientControl.
GetMainElement Returns an HTML element that is the root of the control’s hierarchy. Inherited from ASPxClientControlBase.
GetPageCardValues(fieldNames, onCallback) Returns the card values displayed within the current page.
GetPageCount Gets the number of pages to which the grid’s data is divided.
GetPageIndex Gets the index of the page currently being selected.
GetParentControl Returns a client instance of the control that is the parent for a specified control. Inherited from ASPxClientControlBase.
GetPopupEditForm Gets the Popup Edit Form.
GetSelectedCardCount Returns the number of selected cards.
GetSelectedFieldValues(fieldNames, onCallback) Returns the card values displayed within all selected cards.
GetSelectedKeysOnPage Returns key values of selected cards displayed within the current page.
GetToolbar(index) Returns a grid’s toolbar specified by its index. Inherited from ASPxClientGridBase.
GetToolbarByName(name) Returns a toolbar specified by its name. Inherited from ASPxClientGridBase.
GetTopVisibleIndex Returns the index of the first card displayed within the grid’s active page.
GetValuesOnCustomCallback(args, onCallback) Sends a callback to the server and generates the server-side ASPxCardView.CustomDataCallback event.
GetVerticalScrollPosition Returns the current vertical scroll position of the grid’s content.
GetVisible Returns a value specifying whether a control is displayed. Inherited from ASPxClientControlBase.
GetVisibleCardsOnPage Returns the number of cards actually displayed within the active page.
GetWidth Returns the control’s width. Inherited from ASPxClientControl.
GotoPage(pageIndex) Selects the specified page.
GroupBy(column) Groups cards by the values of the specified column.
HideCustomizationWindow Closes the customization window.
InCallback Returns a value that determines whether a callback request sent by a web control is being currently processed on the server side. Inherited from ASPxClientControlBase.
IsCardSelectedOnPage(visibleIndex) Indicates whether or not the specified card is selected within the current page.
IsCustomizationWindowVisible Indicates whether the customization window is displayed.
IsEditing Indicates whether the grid is in edit mode.
IsNewCardEditing Indicates whether or not a new card is being edited.
MoveColumn(column) Moves the specified column to the specified visual position within the ASPxCardView.
NextPage Activates the next page.
PerformCallback(args) Sends a callback to the server and generates the server-side event, passing the specified argument to it.
PrevPage Activates the previous page.
Refresh Updates data displayed within the grid.
SelectAllCardsOnPage Allows you to select or deselect all cards displayed on the current page based on the parameter passed.
SelectCardOnPage(visibleIndex) Selects or deselects the specified card displayed on the current page.
SelectCards Selects or deselects the specified cards within the CardView.
SelectCardsByKey(keys) Selects or deselects the specified card displayed within the CardView.
SendMessageToAssistiveTechnology(message) Specifies the text that Assistive Technologies (screen readers or braille display, for example) will provide to a user. Inherited from ASPxClientControlBase.
SetClientVisible(visible) Obsolete. Specifies whether a control is displayed. Inherited from ASPxClientControlBase.
SetEditValue(column, value) Sets the value of the specified edit cell.
SetFilterEnabled(isFilterEnabled) Enables or disables the current filter.
SetFocusedCardIndex(visibleIndex) Moves focus to the specified card.
SetHeight(height)

Specifies the control’s height. Note that this method is not in effect for some controls.

Inherited from ASPxClientControl.
SetSearchPanelCustomEditor(editor) Specifies a custom editor for the search panel on the client side.
SetVerticalScrollPosition(position) Specifies the vertical scroll position for the grid’s content.
SetVisible(visible) Specifies whether a control is displayed. Inherited from ASPxClientControlBase.
SetWidth(width) Specifies the control’s width in pixels. Inherited from ASPxClientControl.
ShowCustomizationWindow Invokes the customization window and displays it over the specified HTML element.
ShowFilterControl Displays the Filter Control.
SortBy(column) Sorts data by the specified data column’s values, and places the column to the specified position among the sorted columns.
StartEditCard(visibleIndex) Switches the CardView to edit mode.
StartEditCardByKey(key) Switches the ASPxCardView to edit mode.
Ungroup(column) Ungroups cards by the values of the specified column.
UnselectAllCardsOnPage Deselects all selected cards displayed on the current page.
UnselectCardOnPage(visibleIndex) Deselects the specified cards (if selected) displayed on the current page.
UnselectCards Deselects the specified cards (if selected) within the ASPxCardView.
UnselectCardsByKey(keys) Deselects the specified cards displayed within the ASPxCardView.
UnselectFilteredCards Deselects all grid cards that match the filter criteria currently applied to the CardView.
UpdateEdit Saves all the changes made and switches the grid to browse mode.
See Also