We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Right click custom modalpopupwindow is not displayed when master page is used

<w:LatentStyles DefLockedState=“false” LatentStyleCount=“156”>
</w:LatentStyles>
<![endif]–><!–[if gte mso 10]>

/* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman"; mso-ansi-language:#0400; mso-fareast-language:#0400; mso-bidi-language:#0400;}

<![endif]–>

Hi,

When I right click from any Aspose GridWeb cell ,I should get custom modalpopupwindow instead of default menu. I tried to achieve it without mater page in (rightclick.aspx) its working fine. But in my real project I’m using master page.So tried a sample code with master mage (default1111.aspx) ,when I right click my custom modalpopwindow is not displayed, instead default menu is displayed. Please find the attached sample project for more details. Can you please suggest the solution for this and its quiet urgent.

Many Thanks,

Assal

Hi,


I have forwarded your project to development team under Ticket ID CELLSNET-28493. As soon as we receive any news, we will update you here.
Hi,

When using Master Page, it will add a prefix to every control’s ID. So, you should modify the function in default1111.aspx as following and that will work fine.

function onshowmenu()

{

//var g = document.getElementById("g");

var g = document.getElementById('<%= g.ClientID %>');

g.ContextMenu.hide();

$find('<%= ModalPopupExtender1.ClientID %>').show();

//window.open();

}