Skip to main content

ASPxClientCardView.GetSelectedFieldValues(fieldNames, onCallback) Method

Returns the card values displayed within all selected cards.

Declaration

GetSelectedFieldValues(
    fieldNames: string,
    onCallback: ASPxClientCardViewValuesCallback
): void

Parameters

Name Type Description
fieldNames string

The names of data source fields separated via a semicolon, whose values within the selected cards are returned.

onCallback ASPxClientCardViewValuesCallback

An ASPxClientCardViewValuesCallback object that represents the JavaScript function which receives the list of card values as a parameter.

Remarks

The GetSelectedFieldValues method sends a callback to the server to obtain the required field values and passes them back to the client. These values are received by the JavaScript function specified by the onCallback parameter. Use the CardViewSelection.IsCardSelected property to check if a card is selected.

Online Demo

ASPxCardView - Selection

See Also