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

[Solved] Client side created window not invisible initially

2 Answers 40 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.
Jaap
Top achievements
Rank 2
Jaap asked on 02 Dec 2011, 08:40 PM
I try to create a window with $.telerik.window.create which is initially invisible, so I give as parameter "visible: false" (beside others). I also add a "onOpen: function() { .... }" event in the parameters. But that event is triggered immediatly and the window is visible, so it looks like the "visible: false" is not honoured.

Any solution for this?

Thanks, Jaap

2 Answers, 1 is accepted

Sort by
0
Accepted
Alex Gyoshev
Telerik team
answered on 07 Dec 2011, 04:23 PM
Hi Jaap,

This functionality is currently not supported. However, it has been requested numerous times, so we decided to implement it. The attached javascript file, as well as all upcoming builds, will honor the visible property.

var dialog = $.telerik.window.create({
    html: "foo",
    visible: false
});

Regards,
Alex Gyoshev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now
0
Jaap
Top achievements
Rank 2
answered on 07 Dec 2011, 07:56 PM
Thanks
Tags
Window
Asked by
Jaap
Top achievements
Rank 2
Answers by
Alex Gyoshev
Telerik team
Jaap
Top achievements
Rank 2
Share this question
or