All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Hi, how can I get (by code) the state of some modalview? If it is opened or closed.
Regards.
Hello André,
You can use jQuery to check the display property of the element wrapping the ModalView. It should be something like this:
$(
"#modalViewId"
).getKendoMobileModalView().wrapper.closest(
".km-modalview-root"
).css(
"display"
)
//will return `none` of hidden and `block` if shown
works great..
tnks Kiril!
Happy to help.
In case something else comes up, contact us right away.