This question is locked. New answers and comments are not allowed.
When I open a modal window it is first displayed in a collapsed state just big enough to hold the x to close it. As soon as I start to resize it with the mouse it displays correctly and thereafter it is always correct when I display it again. The window is created with
Html.Telerik().Window()
.Name("AddFavorites")
.Title("Add Favorite")
.Draggable(true)
.Resizable(resizing => resizing.Enabled(true)
.MinHeight(180)
.MinWidth(300)
.MaxHeight(500)
.MaxWidth(500)
)
.Visible(false)
.Modal(true)
.Buttons(b => b.Close())
.Content(
@<text>...
and opened with
$('#AddFavorites').data('tWindow').center();.open();;
$('#AddFavorites').data('tWindow').modal = true;
How can I get the window to display correctly the first time?
![]()
Html.Telerik().Window()
.Name("AddFavorites")
.Title("Add Favorite")
.Draggable(true)
.Resizable(resizing => resizing.Enabled(true)
.MinHeight(180)
.MinWidth(300)
.MaxHeight(500)
.MaxWidth(500)
)
.Visible(false)
.Modal(true)
.Buttons(b => b.Close())
.Content(
@<text>...
and opened with
$('#AddFavorites').data('tWindow').center();.open();;
$('#AddFavorites').data('tWindow').modal = true;
How can I get the window to display correctly the first time?
