I am evaluating the Cells product (due to significant problems with FarPoint FpSpead). I have downloaded the Total package and installed without errors. A test webforms project has references to Aspose.Cells (8.0.1.0) and Aspose.Cells.GridWeb (8.0.0.2000). The markup on my ASPX page is:
<acw:GridWeb ID=“XL” Width=“100%” Height=“200px” runat=“server” ACWClientPath="…/acw_client"></acw:GridWeb>
This is inside a user control itself within a master page.
a) I have attached an image of the form showing that headings do not align with columns.
b) I am executing C# code behind to create a cell with validation this is as per your example:
private void SetUpAspose()
{
WebWorksheet sheet = XL.WebWorksheets[XL.ActiveSheetIndex];
//Accessing “B1” cell
var cell1 = sheet.Cells[0, 1];
//Putting value to “B1” cell
cell1.PutValue(“Select Course:”);
//Accessing “C1” cell
var cell = sheet.Cells[0, 2];
//Creating List validation for the “C1” cell
cell.CreateValidation(ValidationType.DropDownList, true);
//Adding values to List validation
cell.Validation.ValueList.Add(“Fortran”);
cell.Validation.ValueList.Add(“Pascal”);
cell.Validation.ValueList.Add(“C++”);
cell.Validation.ValueList.Add(“Visual Basic”);
cell.Validation.ValueList.Add(“Java”);
cell.Validation.ValueList.Add(“C#”);
}
This compiles cleanly and when it is executed it does not generate a runtime error. However, cell C1 does not show a drop-down list
Any help would be gratefully received.
Kind regards,
Paul