New to Telerik UI for ASP.NET Core? Download free 30-day trial

DialogModalSettingsBuilder

Methods

PreventScroll(System.Boolean)

Specifies whether the document should stop scrolling when modal dialog is opened. Closing it should restore the initial document overflow. Note that it's not supported to have multiple dialogs with different preventScroll setting.

Parameters

value - System.Boolean

The value for PreventScroll

PreventScroll()

Specifies whether the document should stop scrolling when modal dialog is opened. Closing it should restore the initial document overflow. Note that it's not supported to have multiple dialogs with different preventScroll setting.

In this article
Not finding the help you need?