Skip to content

Instantly share code, notes, and snippets.

<?xml version="1.0" encoding="utf-8"?>
<XtraReportsLayoutSerializer SerializerVersion="15.2.3.0" Ref="1" Name="XtraReport" ControlType="DevExpress.XtraReports.UI.XtraReport, DevExpress.XtraReports.v15.2, Version=15.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" DataSource="#Ref-0" DisplayName="Contacts Report" ScriptsSource="&#xD;&#xA;private void xrTableCell8_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e) {&#xD;&#xA; var x = 23;&#xD;&#xA;}&#xD;&#xA;" Version="15.2" PageWidth="850" PageHeight="1100">
<Extensions>
<Item1 Ref="2" Key="DataSerializationExtension" Value="XtraReport" />
<Item2 Ref="3" Key="DataEditorExtension" Value="XtraReport" />
<Item3 Ref="4" Key="ParameterEditorExtension" Value="XtraReport" />
</Extensions>
<Bands>
<Item1 Ref="5" ControlType="DetailBand" Name="Detail" TextAlignment="TopLeft" Padding="0,0,0,0,100" HeightF="23">
<Controls>
@shamp00
shamp00 / MVCGridExtension_notes.md
Last active September 1, 2016 10:58
Notes on MVC GridExtension in server mode

Server mode EF binding example

@Html.DevExpress().GridView(settings => {
    settings.Name = "grid";

    settings.CallbackRouteValues = new { Controller = "EFDatabaseServerMode", Action = "GridViewPartial" };

    settings.KeyFieldName = "OrderID";