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

Resizing a window when opening it again?

3 Answers 103 Views
Window
This is a migrated thread and some comments may be shown as answers.
Nocklas
Top achievements
Rank 1
Nocklas asked on 26 Jun 2012, 01:37 PM
Hi,

I'm reopening a window with new content, but I can't figure out how to change the dimensions of it.

How do I accomplish this?

3 Answers, 1 is accepted

Sort by
0
Nocklas
Top achievements
Rank 1
answered on 09 Jul 2012, 03:23 PM
Nobody knows?
0
Zhou
Top achievements
Rank 1
answered on 17 Jul 2012, 05:49 AM
Does not seem to change
0
David
Top achievements
Rank 1
answered on 09 Aug 2012, 09:53 AM
Try this:

var popup = $("#windowId").data("kendoWindow");
popup.setOptions({
    title: "New Title if you want to change it...",
    width: 600,
    height: 400
});

You might want to do popup.center(); afterwards.
Tags
Window
Asked by
Nocklas
Top achievements
Rank 1
Answers by
Nocklas
Top achievements
Rank 1
Zhou
Top achievements
Rank 1
David
Top achievements
Rank 1
Share this question
or