For this task, handle the ASPxGridView.HtmlRowPrepared event to add the required CSS class for the alternating preview rows:
[C#]boolisPrevRowIsAlterRow;protectedvoidgrid_HtmlRowPrepared(objectsender,DevExpress.Web.ASPxGridViewTableRowEventArgse){if(e.RowType==GridViewRowType.Data){isPrevRowIsAlterRow=e.Row.CssClass.Contains("dxgvDataRowAlt");}elseif(e.RowType==GridViewRowType.Preview){if(isPrevRowIsAlterRow)e.Row.CssClass+=" previewRowAlt";}}