How to: Export Only Selected Cards

To see how to export only selected cards, refer to the following online demo: Export Selected Records.

protected void cardView_RenderBrick(object sender, ASPxCardViewExportRenderingEventArgs e) {
    if(e.Column.FieldName == "PhotoUrl") {
        var path = MapPath(e.Value.ToString());
        if(File.Exists(path))
            e.ImageValue = File.ReadAllBytes(path);
    }
}