Free Support Forum - aspose.com

Height of grid out of whack

Something I just figured out that I thought I would share. When creating an ASPX page, Visual Studio 2005 adds a “DOCTYPE” tag just after the registration tags. It looks like this:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

If this tag is included on a page where the ASPose.Grid.Web control sits, the bottom of the control extends past the bottom of the screen and the height parameter is ignored. Once that DocType tag is removed, the height parameters are recognized.

Thank you! That helped at lot! After removing this line of code from the asp source, I was able to resize the control nicely.

Karen

Thank you very much for sharing your experience.

For anyone working with vs.net 2005, please see our wiki document here for more detail information.

http://www.aspose.com/Wiki/default.aspx/Aspose.Grid/WorkWithVWD2005.html