jQuery UI Widgets Forums Dialogs and Notifications Window window close callback

This topic contains 16 replies, has 3 voices, and was last updated by  Peter Stoev 12 years, 6 months ago.

Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
  • window close callback #10086

    kongaraju
    Member

    I was bind close callback to window but it is not triggering on close of window…!

    window close callback #10089

    Peter Stoev
    Keymaster

    Hi kongaraju,

    The following demo shows how to use jqxWindow’s events: http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxwindow/jquery-window-events.htm?classic

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    window close callback #10095

    kongaraju
    Member

    close callback not firing in my case

    window close callback #10097

    Peter Stoev
    Keymaster

    Please, post a sample which demonstrates your scenario. Also make sure that you use version of jQuery after 1.6 and the latest version of jQWidgets.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    window close callback #10142

    kongaraju
    Member
    $('#rtcv').jqxWindow({
    height : 300,
    width : 320,
    minHeight : 100,
    maxHeight : 600,
    maxWidth : 500,
    theme : 'darkblue',
    autoOpen : false,
    showCollapseButton : true,
    resizable : true
    })
    $('#rtcv').bind('close', closecallback);

    I am expecting to trigger callback when when user click on window close button.

    window close callback #10167

    Peter Stoev
    Keymaster

    Hi kongaraju,

    Did you try the sample that I posted? I am asking about that because in the sample the window is bound to the close event and it is triggered when the user clicks the window’s close button. If you have a different scenario, please post a sample which reproduces the erroneous behavior, because the provided code works fine on our side. Thank you in advance!

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    window close callback #10193

    kongaraju
    Member

    sample is working fine but why my scenario is not working? is there any mistakes in my side?

    Or

    tell me possibilities to not to work the bind event …!

    window close callback #10194

    Peter Stoev
    Keymaster

    Hi kongaraju,

    Please post a small sample(htm page with JS code) which reproduces the erroneous behavior, because the provided code works fine on our side. Thank you in advance!

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    window close callback #10820

    Me also got same problem. Bledy baffons written this jqxwidgets. They dont even know the possibilities of failure or checking conditions of the code.

    window close callback #10822

    Peter Stoev
    Keymaster

    Hi guys,

    The following demo shows how to use jqxWindow’s events: http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxwindow/jquery-window-events.htm?classic. The demo shows that the event works fine. If it does not work on your side, send us a sample which demonstrates the behavior you are reporting and we will test it. As we can’t reproduce it locally, we can’t help regarding it.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    window close callback #10823

    kongaraju
    Member

    I was already pasted my code and again pasting it. Close callback not triggering.

    <div id="rtcv">
    <div class="vidtitle">
    Konga raju
    </div>
    <div>
    <!-- some elements-->
    </div>
    </div>
    $('#rtcv').jqxWindow({
    height : 300,
    width : 320,
    minHeight : 100,
    maxHeight : 600,
    maxWidth : 500,
    theme : 'darkblue',
    autoOpen : false,
    showCollapseButton : true,
    resizable : true
    })
    $('#rtcv').bind('close', closecallback);
    window close callback #10825

    kongaraju
    Member

    I think no difference in calling the close callback then why my callback not triggering.

    I am not having different scenario of calling close callback. Then please explain me how to check is there any failure of triggering callback.

    window close callback #10827

    Peter Stoev
    Keymaster

    That is not a complete sample which we can run locally. This is a part of a sample and it does not help us for reproducing the issue. We need a sample(web page with JS + HTML code) which we can run and which reproduces the issue. If you could provide such, we will be happy to debug it and test whether there’s an issue or not.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    window close callback #10849

    kongaraju
    Member

    Then look at my demo

    http://www.antkorp.in/jqx_window.html

    the events never calling..!

    whats wrong in it?

    Please respond quickly.

    window close callback #10853

    Peter Stoev
    Keymaster

    Hi kongaraju,

    At first, you are using jQWidgets v2.2.1(June-18). The current version is 2.5(Oct-17). The second issue is that your page is missing DOCTYPE header.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

Viewing 15 posts - 1 through 15 (of 17 total)

You must be logged in to reply to this topic.