Free Support Forum -

Gridview no longer displays vertical or horizontal scroll bars

I just upgraded Aspose.Cells.Gridweb dll and the grid no longer displays horizontal and vertical scrollbars. It worked fine in the previous version.

I am using Aspose.Cells.GridWeb version

Previously I was using Aspose.Cells.GridWeb version

I'll try to attach zips of the projects but am having trouble doing so, the upload is timing out.

Here is the asp:

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="dynamicAsposeGridWeb.WebForm1" %>

<%@ Register Assembly="Aspose.Cells.GridWeb" Namespace="Aspose.Cells.GridWeb" TagPrefix="acw" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">

<html xmlns="">

<head runat="server">




<form id="form1" runat="server">


<acw:gridweb ID="gridWeb1" runat="server"></acw:gridweb>





And the code-behind:

using System;

using System.Data;

using System.Data.OleDb;

using System.Collections.Generic;

using System.Linq;

using System.Web;

using System.Web.UI;

using System.Web.UI.WebControls;

using Aspose.Cells.GridWeb;

using Aspose.Cells.GridWeb.Data;

namespace dynamicAsposeGridWeb


public partial class WebForm1 : System.Web.UI.Page


protected void Page_Load(object sender, EventArgs e)


if (!Page.IsPostBack == true)


License license = new License();


String connString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\\Program Files\\Aspose\\Aspose.Cells for .NET\\Demos\\Common\\Database\\demos.mdb";

OleDbConnection conn = new OleDbConnection(connString);

OleDbCommand cmd = new OleDbCommand("SELECT *, +1 FROM PRODUCTS", conn);

//OleDbCommand cmd = new OleDbCommand("SELECT *, -1 FROM PRODUCTS", conn); //<-- this was crashing with previous dll

OleDbDataAdapter da = new OleDbDataAdapter(cmd);

DataSet ds = new DataSet();


da.Fill(ds, "PRODUCTS");


WebWorksheet ws = gridWeb1.WebWorksheets[0];


ws.EnableCreateBindColumnHeader = true;

ws.DataSource = ds.Tables[0];








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

Please provide us your sample runnable project replicating your issue. We will look into it and help you asap. If we find any issue, we will log it in our database so that it could be fixed.

two projects attached. one with old dll which has scrollbars. one with new dll where scrollbars no longer show up.

Just downloaded Aspose.Cells 7.4.3 and restested with Aspose.Cells.GridWeb version and the problem is still there.


Thanks for sharing the sample projects.

After an initial test, I can notice the issue as you have mentioned with latest version v2.7.x.xxxx. There are no scrollbars attached with the GridWeb when the data is displayed or bound from the data source. I have also tested the project with v2.5.2.xxxx and it works fine.

I have logged a ticket with an id “CELLSNET-41653” for your issue. We will look into your issue soon.

(Note: I have to comment the last few lines of code regarding get / set styles to suppress the other exception to reproduce the issue for scrollbars)

Thank you.


After evaluating your issue a bit, I come to know that you should use our latest fix Aspose.Cells.GridWeb v2.7.18.2001 and also update/replace the acw_client folder files with your existing files. I have done this and now I see the scrollabrs fine, see the screen shot attached here.

Please try the attached latest fix/version v2.7.18.2001 (with updated acw_client files).

Thank you.