Is there a way to disable or remove the Scroller widget inside the ModalView? I am customizing mine and I don't want the scroller there.
Is there something like a data- attribute I can use?
Thank you for any help!
2 Answers, 1 is accepted
0
Accepted
Kiril Nikolov
Telerik team
answered on 25 Jul 2013, 11:18 AM
Hi Christian,
You can try using the stretch configuration option that the ModalView inherits from the View and set it to true. If set to true, the view will stretch its child contents to occupy the entire view, while disabling kinetic scrolling. I have prepared a demo with a possible implementation:
<div data-role="modalview" id="modalview-login" style="width: 95%; height: 18em;" data-stretch="true">
// you can try setting data-streach="false" to see the difference
Regards,
Kiril Nikolov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!