This is a migrated thread and some comments may be shown as answers.

[Solved] Hide modal popup does not enable parent window

2 Answers 222 Views
Window
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Tyler
Top achievements
Rank 1
Tyler asked on 16 Aug 2012, 09:55 PM
The following window popup correctly but when I call  $("#popupService").hide(); the window disappear but the parent windows is still disabled. If I close the window using the "X" button.everything works correctly. $(#popupService").close() is not defined.

@{  Html.Telerik()
        .Window()
        .Name("popupService")
        .Title("Update Service Details")
        .Content(....)
           .Width(400)
           .Height(500)
           .Draggable(true)
           .Modal(true)
           .Visible(false)
           .Render();
}

2 Answers, 1 is accepted

Sort by
0
Tyler
Top achievements
Rank 1
answered on 22 Aug 2012, 04:13 AM
I changed to Jquery dialog, which works as expected.
0
Atanu
Top achievements
Rank 1
answered on 29 Aug 2012, 10:00 AM
I am also facing the same problem.

var window = $("#ProgressBar").data("tWindow");
window.close();

The above code sometimes makes the parent enable and sometimes not.
Any advise????????
Tags
Window
Asked by
Tyler
Top achievements
Rank 1
Answers by
Tyler
Top achievements
Rank 1
Atanu
Top achievements
Rank 1
Share this question
or