jQuery UI Widgets Forums Dialogs and Notifications Window FileUpload inside Window

This topic contains 4 replies, has 3 voices, and was last updated by  Hristo 4 years, 4 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • FileUpload inside Window #88360

    popposoft
    Participant

    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?

    FileUpload inside Window #88376

    Hristo
    Participant

    Hello popposoft,

    Please, take a look at this edited example.

    Best Regards,
    Hristo Hristov

    jQWidgets team
    http://www.jqwidgets.com

    FileUpload inside Window #88382

    popposoft
    Participant

    My bad, thanks for the solution!!!

    FileUpload inside Window #89966

    CeesDekker
    Participant

    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?

    FileUpload inside Window #89977

    Hristo
    Participant

    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 Hristov

    jQWidgets team
    http://www.jqwidgets.com

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.