I'm following the example here: https://demos.telerik.com/aspnet-mvc/grid/server-export
But I'm getting a null pointer if any of the grid values are null. Shouldn't it act like the client export and just put in an empty value?
Is there some workaround for this?
â—¢ $exception {"Object reference not set to an instance of an object."} System.NullReferenceException
at System.Object.GetType()
at Kendo.Mvc.Export.Helpers.SetCellValue(ICellExporter cell, Object value)
at Kendo.Mvc.Export.Helpers.CollectionToStream(SpreadDocumentFormat format, IEnumerable data, IList`1 model, String title, Action`1 columnStyleAction, Action`1 rowStyleAction, Action`1 cellStyleAction)
at Kendo.Mvc.Export.ExportExtensions.ToXlsxStream(IEnumerable instance, IList`1 model, String title, Action`1 columnStyleAction, Action`1 rowStyleAction,