- Home
- Forum
- ASP.NET Web Forms
- TreeGridColumn is not a known element
TreeGridColumn is not a known element
Hi Team,
I am trying to use TreeGrid in my application. Registered both Syncfusion.Ej and Syncfusion.Ej.Web in Web.config under assemblies. Registered both assemblies on the page I am trying to use TreeGrid. But when I declare control in page. I am getting error "TreeGridColumn is not a known element".
Please suggest how to get columns for TreeGrid.
Thanks,
Suresh.
SIGN IN To post a reply.
3 Replies
JD
Jayakumar Duraisamy
Syncfusion Team
July 14, 2017 10:54 AM UTC
Hi Suresh,
Thanks for contacting Syncfusion support.
We have analyzed your reported issue and it is cause due to missing of “Syncfusion.Javascript.Web” namespace from the “Syncfusion.EJ.Web & Syncfusion.EJ”. Hence, we should add these namespace under controls in web.config file.
Please refer following code snippet,
|
<pages>
<namespaces>
<add namespace="System.Web.Optimization"/>
</namespaces>
<controls>
<add assembly="Microsoft.AspNet.Web.Optimization.WebForms" namespace="Microsoft.AspNet.Web.Optimization.WebForms" tagPrefix="webopt"/>
<add namespace="Syncfusion.JavaScript.Web" assembly="Syncfusion.EJ.Web, Version=15.2451.0.46, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" tagPrefix="ej"/>
<add namespace="Syncfusion.JavaScript.Web" assembly="Syncfusion.EJ, Version=15.2451.0.46, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" tagPrefix="ej"/>
<add namespace="Syncfusion.JavaScript.Models" assembly="Syncfusion.EJ, Version=15.2451.0.46, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" tagPrefix="ej"/>
</controls>
</pages> |
We have also prepared a sample for your reference. Please find the sample location as below,
Sample: http://www.syncfusion.com/downloads/support/directtrac/general/ze/TreeGridSample_ASP.net-1243032698
If the given solution doesn’t resolve your reported issue then please share your application, it will be helpful for us to serve you better.
Regards,
Jayakumar D
KS
Kadam, Suresh B. (WTIC 535) CWR
July 14, 2017 10:57 AM UTC
Hi Jayakumar,
Thank you very much. The issue has been resolved with your suggestion.
Regards,
Suresh Kadam.
JD
Jayakumar Duraisamy
Syncfusion Team
July 17, 2017 04:10 AM UTC
Hi Kadam,
We are glad that your issue has been resolved. Please let us know if you need any other assistance.
Regards,
Jayakumar D
SIGN IN To post a reply.
- 3 Replies
- 2 Participants
-
KS Kadam, Suresh B. (WTIC 535) CWR
- Jul 13, 2017 07:28 AM UTC
- Jul 17, 2017 04:10 AM UTC