jQWidgets Forums
jQuery UI Widgets › Forums › Getting Started › User Control Inside JQxDocking
Tagged: addWindow, asp.net, charts, docking, export, exportLayout, import, importLayout, jqxChart, jqxDocking, layout, User Control, Usercontrols, Widget
This topic contains 24 replies, has 3 voices, and was last updated by Dimitar 10 years, 3 months ago.
-
Author
-
Hi fresher,
jqxDocking layout can be imported and exported via the methods importLayout and exportLayout.
Best Regards,
DimitarjQWidgets team
http://www.jqwidgets.com/Hi
Do we have any method Only to export the position X and Y of a window ?
Like “setWindowPosition” , do we have any get method?
Hi fresher,
The position of a jqxWindow can be retrieved with jQuery’s .offset().
Best Regards,
DimitarjQWidgets team
http://www.jqwidgets.com/Hi,
Thanks Can we have a custom button like “Maximze” beside collapse and close buttons?
Hi
I’m using addwindow Method to add another window dynamically on a click event
$(‘#docking’).jqxDocking(‘addWindow’, ‘window4’, ‘default’, 1, 1); where window4 is the id of an existing window
I’m getting follwing error redirecting to jqxcore.js file
JavaScript runtime error: Object doesn’t support property or method ‘split’
(If I give new ID I’m getting error as JavaScript runtime error: Invalid Selector – #window5! Please, check whether the used ID or CSS Class name is correct.)
Hi fresher,
1) You can add custom elements in the header section of the window. Please check out the following topic where this matter is discussed: http://www.jqwidgets.com/community/topic/add-additional-buttons-to-jqxwindow-header/.
2) We do not experience any issues with the method addwindow. Here is a working example: http://jsfiddle.net/jqwidgets/HpawJ/.
Best Regards,
DimitarjQWidgets team
http://www.jqwidgets.com/Hi,
Thanks ! Can you please elaborate the exact addwindow functionality ? what it does ?
The 1st parameter Id : do we need to give the id of an existing window?
In http://jsfiddle.net/jqwidgets/HpawJ/. this we already have a div with window3
If I give $(‘#jqxDocking’).jqxDocking(‘addWindow’, ‘window4’, ‘default’, 1, 1); Do we get another window??? If not then what excatly add window does?
Thanks in advance
Hi fresher,
The method addWindow adds an existing window to the docking. That is why an error is thrown if you try to pass the method an id of a non-existent window.
On a side note, please keep discussions about widgets in their dedicated forum pages.
Best Regards,
DimitarjQWidgets team
http://www.jqwidgets.com/Hi
ya fine..!
I have tried in http://jsfiddle.net/jqwidgets/HpawJ/ adding existing window window3 I couldnt add it .
Mean while I tried to load my user control(asp.net usercontrol with a jqxChart) in a dashboard which we use , I have been getting following issue in jqxChart.js
“JavaScript runtime error: Unable to get property ‘replace’ of undefined or null reference”
Can you help in figuring out what could be the possible issue?
Hi fresher,
1) Here is another fiddle: http://jsfiddle.net/Dimitar_jQWidgets/crvzsno6/. We hope it is helpful to you.
2) We cannot determine where the issue might originate. The User control example we provided you works perfectly fine on our side.
Best Regards,
DimitarjQWidgets team
http://www.jqwidgets.com/ -
AuthorPosts
You must be logged in to reply to this topic.