I am rendering a Kendo Window in my view like the following:
While the window starts off hidden (Visible == false) upon view render, it still loads the content on view render. While this is likely due to using an iframe (so that the window can internally navigate between the different Feedback steps), is there any way to prevent the initial content load until the first time the window is opened (similar to how the ajax window works)?
@(Html.Kendo().Window()
.Name("FeedbackWindow")
.Title(Resources.Title_Feedback)
.LoadContentFrom("Index", "Feedback")
.Actions(action => action.Maximize().Close())
.Modal(true)
.Iframe(true)
.Visible(false)
.AutoFocus(true)
.Events(events => events.Refresh("FeedbackWindow_Refresh"))
)
While the window starts off hidden (Visible == false) upon view render, it still loads the content on view render. While this is likely due to using an iframe (so that the window can internally navigate between the different Feedback steps), is there any way to prevent the initial content load until the first time the window is opened (similar to how the ajax window works)?