We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Height problem with Aspose Gridweb


How to set the Gridweb control height when XhtmlMode is false.

Please find attachment for sample code.




Thanks for the project.

I think you may try to change your <!DOCTYPE> in your page(s) accordingly.


1) If the page has this tag i.e…,

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
–> The GridWeb’s XhtmlMode should be set to TRUE.

2) If the page has the tag e.g…,

<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.0 Transitional//EN” >
or having no tag (like this) at all,

The GridWeb.XhtmlMode should be set to FALSE.

So, you may try to change your <!DOCTYPE> as per 2) if you want to set XhtmlMode to false.

Thank you.