jQWidgets Forums
jQuery UI Widgets › Forums › ASP .NET MVC › DockingLayout error
Tagged: jqxDockingLayout CORE
This topic contains 7 replies, has 2 voices, and was last updated by Hristo 5 years, 1 month ago.
-
AuthorDockingLayout error Posts
-
I can not add Docking Layout in .NET CORE project.
While testing example the following error occurs:jquery.js:3850 Uncaught TypeError: Cannot read property ‘type’ of undefined
at c.<computed>.render (jqxlayout.js:8)
at c.<computed>.createInstance (jqxlayout.js:8)
at Object.b.jqx.applyWidget (jqxcore.js:15)
at HTMLDivElement.<anonymous> (jqxcore.js:15)
at Function.each (jquery.js:367)
at new a.<computed>.window.<computed> (jqxcore.js:15)
at HTMLDocument.<anonymous> (?reportId=188:190)
at mightThrow (jquery.js:3557)
at process (jquery.js:3625)Hello dragpre,
I would like to suggest you look at this tutorial:
https://www.jqwidgets.com/asp.net-core-mvc-tag-helpers-documentation/
Try to follow it and if this does not help you, please, let us know.
I look forward to hearing from you.Best Regards,
Hristo HristovjQWidgets team
https://www.jqwidgets.comHello dragpre,
It has missing settings for the
layout
property with also all its needed settings.
One ready example could be found with the download package in the “demos” folder there is a folder with TagHelpers and an example with the jqxDockingLayout.Best Regards,
Hristo HristovjQWidgets team
https://www.jqwidgets.comThanks. Layout is working now.
DockingLayout has a problem when displaying DevExpress Grid or Chart control.
I contacted DevExpress and their answer is:Our widgets should be rendered after the content is ready. We have found that jqx modifies a page after dxDataGrid is rendered. It seems like this function did this:
Hello dragpre,
You could try to create it the foreign widget inside the
initContent
callback.
Because all internal content is overridden and you should take the right moment to create a component there.
Please, take a look at this demo:
https://www.jqwidgets.com/jquery-widgets-demo/demos/jqxdockinglayout/javascript-docking-layout-ide-like.htm?light
Also, I would like to mention that we cannot guarantee the final result when using foreign widgets.Best Regards,
Hristo HristovjQWidgets team
https://www.jqwidgets.com -
AuthorPosts
You must be logged in to reply to this topic.