We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Error: Unknown server tag 'ej:CustomContexMenuItems'.

Thread ID:





131624 Jul 19,2017 08:14 AM UTC Jul 21,2017 03:56 AM UTC ASP.NET Web Forms 3
Tags: Grid
Asked On July 19, 2017 08:14 AM UTC

I'm using the ej:Grid and I want to add Custom Context Menu.
Why do I get this error: Unknown server tag 'ej:CustomContexMenuItems'.?

My page:
<%@ Register assembly="Syncfusion.EJ.Web, Version=14.1460.0.46, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" namespace="Syncfusion.JavaScript.Web" tagprefix="ej" %>

<ej:Grid ID="Grid1" runat="server" AllowTextWrap="true" AllowPaging="true" AllowResizing="true" AllowSorting="true" AllowFiltering="true">
    <ClientSideEvents QueryCellInfo="GridQueryCellInfo" RecordDoubleClick="RecordDoubleClick" ContextClick="contextClick"/>
    <ContextMenuSettings EnableContextMenu="true" DisableDefaultItems="true">
            <ej:CustomContexMenuItems Id="clear" Text="Clear Selection" /> 


Prasanna Kumar Viswanathan [Syncfusion]
Replied On July 20, 2017 10:00 AM UTC

Hi Tomer, 

Thanks for contacting Syncfusion support. 

We checked your code example and found that the issue is due to the missing reference of the Syncfusion.JavaScript.Models namespace in the page. The ej:CustomContexMenuItems is available in Syncfusion.JavaScript.Models  namespace from Syncfusion.EJ assembly. So,  please add the below line either in your ASPX page or web.config to resolve this issue. 
<%@ Register Assembly="Syncfusion.EJ, Version=14.1460.0.46, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" namespace="Syncfusion.JavaScript.Models" TagPrefix="ej" %> 
<add namespace="Syncfusion.JavaScript.Models" assembly="Syncfusion.EJ, Version=14.1460.0.46, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" tagPrefix="ej" /> 

Prasanna Kumar N.S.V 

Replied On July 20, 2017 10:14 AM UTC

Works like a charm. Thanks.

Prasanna Kumar Viswanathan [Syncfusion]
Replied On July 21, 2017 03:56 AM UTC

Hi Tomer, 

We are happy to hear that your issue has been solved. 

Please let us know if you need any further assistance. 

Prasanna Kumar N.S.V 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon