I am using Aspose.Cells.GridWeb version 20.4 in .Net.
I came across some issues for which I have found no solution or clarification even though there are some old topics about some of them.
I created a Sample project with three pages (one for each issue). It is available here:Sample project
The first problem is the use of the GridWeb inside an UpdatePanel without using AJAX (EnableAJAX=“false”):
<asp:UpdatePanel ID="updGrid" runat="server" UpdateMode="Conditional"> <ContentTemplate> <acw:GridWeb ID="grid" runat="server" EnableAJAX="false" > </acw:GridWeb> </ContentTemplate> </asp:UpdatePanel>
When I try to do this the grid becomes unformatted and unresponsive after the first operation that is performed.
I would like to know if I am supposed to be able to use UpdatePanels and how can I do it. In the sample project I included the solutions I tried to apply as described in very old topics about this issue. However they did not work.
The second issue is also discussed on old topics, but the provided solutions did not work. I would like to know if the active / selected cells can be accessed from a button outside the GridWeb component. Currently I can only access this information through the grid’s command buttons.
Finally, when a comment is created on the first line of the grid it shows partially hidden. Also, the bottom line of the grid sometimes disappears when comments are present. Is there anything I can do about it?
With this comment:
grid.ActiveSheet.Cells[0, 0].CreateComment("An example of a comment.", "", false);
The result is this:
image.png (2.4 KB)
I would appreciate any help.