jQuery UI Widgets › Forums › Dialogs and Notifications › Window › FileUpload inside Window
Tagged: Angular window, angular2 window, bootstrap window, javascript window, jquery window, jqwidgets window, jqxwindow, typescript window
This topic contains 4 replies, has 3 voices, and was last updated by Hristo 8 years, 1 month ago.
-
AuthorFileUpload inside Window Posts
-
Hello, I have a strange console error when I use the file upload widget inside a jqxWindow structure
jqx-all.js:7 Uncaught TypeError: Cannot read property 'fileName' of undefined(…)(anonymous function) @ jqx-all.js:7dispatch @ jquery-1.9.1.js:3074elemData.handle @ jquery-1.9.1.js:2750_addContentWrapper @ jqx-all.js:7_render @ jqx-all.js:7_uiRefresh @ jqx-all.js:7_refresh @ jqx-all.js:7createInstance @ jqx-all.js:7a.jqx.applyWidget @ jqx-all.js:7(anonymous function) @ jqx-all.js:7each @ jquery-1.9.1.js:648each @ jquery-1.9.1.js:270a.fn.(anonymous function) @ jqx-all.js:7initContent @ (index):62(anonymous function) @ jqx-all.js:7
This only appears once every time I load the page when I open the window for the first time. This does not make the file upload to fail. Everything works except this small annoying error in console every time I load the page.
https://jsfiddle.net/popposoft/9nydq6sb/Same code without the window and all the buttons works without errors. Tabs seems not to be the issue here.
Is it a bug on your side or am I doing something wrong in initialization?
Hello popposoft,
Please, take a look at this edited example.
Best Regards,
Hristo HristovjQWidgets team
http://www.jqwidgets.comMy bad, thanks for the solution!!!
I want to use the widget Window to display drawings. These – mostly scanned images – can be in png, tif, gif, but also in pdf. How do I load and display these in a window. The drawing may use the complete window. From the main page a drawing will be selected from a list, and next a Window must pop-up and the drawing loaded and displayed.
Does someone have an example how to do this? And is viewing a pdf in the Window also possible?Hello CeesDekker,
The jqxWindow is a container. And it is possible to collect there the mentioned items.
Also, I would like to suggest you look at this article.
Hope this helps.Best Regards,
Hristo HristovjQWidgets team
http://www.jqwidgets.com -
AuthorPosts
You must be logged in to reply to this topic.