Grid xhtmlmode

I’m using Aspose Cells GridWeb 2.7.2.2001

If I set the XHTMLMode = true, I’m getting the following Server Error,

System.ArgumentOutOfRangeException: Height must be non negative.
Parameter
name: value

Stack Trace:

[ArgumentOutOfRangeException: Height must be non negative.
Parameter name: value]
   System.Web.UI.WebControls.Style.set_Height(Unit value) +8669248
   System.Web.UI.WebControls.WebControl.set_Height(Unit value) +30
   Aspose.Cells.GridWeb.GridWeb.ˆ() +26315
   Aspose.Cells.GridWeb.GridWeb.OnPreRender(EventArgs e) +653
   System.Web.UI.Control.PreRenderRecursiveInternal() +80
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842

Any help???

Thank you.

Hi,

Thanks for your posting and using Aspose.Cells for GridWeb.

I have tested your issue with the latest:
Aspose.Cells
for GridWeb v2.7.2.2002
and it is working fine.

If you still find an issue, please provide us your sample code project replicating the problem.

We will look into it and fix or update you asap.