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

Window initialy invisible

2 Answers 118 Views
Window
This is a migrated thread and some comments may be shown as answers.
nocturnal
Top achievements
Rank 1
nocturnal asked on 10 Jul 2012, 09:52 PM
Hello, i use MVC4 and i create a window (with dynamic content) first invisible :

               @(Html.Kendo().Window()
                        .Visible(false)
                        .Name("mywindow")
                           .....
                )

Then i open it on button's click but it always opens with empty content (no problem if the window is first visible)

var window = $("#mywindow");

        $("#mybutton").click(function (e) {
            $("#formulaire").kendoWindow({
                visible: true
            }).data("kendoWindow");

            window.data("kendoWindow").refresh().center().open();
        });

i tried several things like this 



    $(document).ready(function () {
        var window = $("#mywindow").kendoWindow({
            visible: true
        }).data("kendoWindow");
...

but it never works : the window opens but empty 

2 Answers, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 11 Jul 2012, 05:57 AM
This issue has been resolved in the upcoming Q2 release.

Kind regards,
Alex Gyoshev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Steffen
Top achievements
Rank 1
answered on 13 Aug 2012, 08:55 PM
I have the same issue with a flowplayer container. It just does not come back to live, when the window is opened by click. Has this been resolved yet? I am using the latest version of Kendo UI.
Tags
Window
Asked by
nocturnal
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
Steffen
Top achievements
Rank 1
Share this question
or