Free Support Forum - aspose.com

First trial for Aspose.Grid

I am trying Aspose.Grid 1.5 in Visual Web Developer 2005 express, some question arised,

1. Can not resize this control in Web Form or through code behind (C#);

2. Can not switch to EditMode

3. Cell does not align to HeaderBar, Column or Row header can not be resized.

4. Scroll bar does not take effect in upper Fixed pane.

5. Hidden column in Header Bar is not really hidden

Leo

Hi,

There is some additional work to do when using this control in VWD 2005 vs vs.net 2002/2003.

First, in the aspx source view, find this line in the top area:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Remove this line or replace it with this:

Then, you should add some configurations to your web.config file. because in VWD2005, when you run your asp.net application, generally a new website will be used instead of the IIS. So the default client files'(scripts, imags, etc.) web path which is set by default to "/agw_client/" is not correct. To avoid this problem, add the following configuration section to you web.config file:


<add key="aspose.grid.web.agw_client_path" value="<A>http://[machine_name_or_address]/agw_client/"/>

BTW, our next version which will be released soon provides a new property "AGWClientPath", you can set the client file path in the property box.

Please check our wiki document at:

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