# Dialog - Control Scrolling via CSS?

**URL:** <https://forum.radzen.com/t/dialog-control-scrolling-via-css/6392>\
**Category:** Radzen.Blazor Components\
**Created:** [January 21, 2021, 3:48pm UTC](https://forum.radzen.com/t/dialog-control-scrolling-via-css/6392 "2021-01-21T15:48:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cjones](https://forum.radzen.com/letter_avatar_proxy/v4/letter/c/94ad74/32.png) [@cjones](https://forum.radzen.com/u/cjones)\
**Post date:** [January 21, 2021, 3:48pm UTC](https://forum.radzen.com/t/dialog-control-scrolling-via-css/6392/1 "2021-01-21T15:48:16Z")

</div>

Hi There,

Is there a way to turn off horizontal scrolling on a dialog opened through the dialog service (dialogService.Open\<page.razor\>())? I have added overflow: hidden to just about everywhere I can think of in the css (.ui-dialog, .radzen-dialog, etc.), and the dialog still forms a scrollbar when the content is too big for it (trying to stop the dialog from scrolling so that the datagrids in it will scroll instead).

Thanks in advance for any assistance you can provide me on this issue.

---

<div class="post-metadata">

**Author:** ![korchev](https://forum.radzen.com/user_avatar/forum.radzen.com/korchev/32/4_2.png) [@korchev](https://forum.radzen.com/u/korchev)\
**Post date:** [January 21, 2021, 4:23pm UTC](https://forum.radzen.com/t/dialog-control-scrolling-via-css/6392/2 "2021-01-21T16:23:19Z")

</div>

Closing it as a duplicate. Check the forum FAQ for instructions how to improve your original thread.

---

<div class="post-metadata">

**Author:** ![korchev](https://forum.radzen.com/user_avatar/forum.radzen.com/korchev/32/4_2.png) [@korchev](https://forum.radzen.com/u/korchev)\
**Post date:** [January 21, 2021, 4:23pm UTC](https://forum.radzen.com/t/dialog-control-scrolling-via-css/6392/3 "2021-01-21T16:23:23Z")

</div>


