Aspose Grid in SharePoint

Hello,

I've put the Aspose.Grid control in an WebUserControl (ascx) file.

The ascx is loaded by a Sharepoint Webpart that i created.

The grid works fine on Sharepoint 2007 environment.

The problem is, when i right-click on a cell, the right-click menu appears always at the upper-left of the screen.

I am sending the screenshot attached.

How can i fix this?

Thanks.

Sinan

Hi Sinan,

Well, your context menu displaying issue may be caused by wrong xhtml settings. Could you try to check the source .aspx file, if there is any line.

1. if the line is

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
The GridWeb.XhtmlMode should be set to TRUE.

2. if the line is


or no this tag at all,

The GridWeb.XhtmlMode should be set to FALSE.

Thank you.

Hello Amjad,

I've set XhtmlMode to False, and the menu displays correctly now.

Thank you very much!

Sinan