Hi, I am calling a window as modal dialog from the parent window. The modal dialog window has a grid docked at the bottom. When the browser is resized, neither the modal window nor the grid inside showing any scrollbars.
How to display the scrollbar automatically when the browser is resized?
I run your sample:
It’s all working correctly.
You can:
There is no different between a window or a modal window and resizing the browser resizes the browser and automatically resizes the page and maximized windows. It cannot possibly resize floating windows.
Hi, in this project, there are two windows. The parent window shows the scrollbars when the browser is resized. No matter whether the parent window is independent or a child window. But the search window is not showing a scrollbar when the browser is resized. Herewith I have attached both the images and the project.
If the content of the floating fixed modal dialog fits the window which scrollbars do you want to show when the browser is resized?
If you want to “scroll” the floating window inside the browser when it’s partially out of view, that is not possible by design. If you want to keep the dialog centered, use KeepCentered = true. If you want to resize the window you can and in that case the scroll bars will automatically show when the content doesn’t fit.
if you have any other case send a test case or an image showing where and which scroll bars you need to show.
Modal or “normal” are the same. Resizing the browser doesn’t change the size of the form unless it’s maximized. Can you send a test case?
Use AutoScroll = true.
Please login first to submit.