In this post, we will be fixing Vertical scroll bar disabled in Modal Popup Extender in ASP.NET.
Add a scrollbar for ASP.NET AJAX Modal popup extender
In SharePoint Visual Web Part, I have added an Ajax ModalPopUpExtender with vertical scroll bar vertical scroll by setting the Panel Property ScrollBars=”Vertical” as shown:
But I had noticed that the Vertical scroll bar disabled in Modal Popup Extender as shown below:
Enable Vertical scroll bar in Modal Popup Extender
This issue usually occurs if you didn’t set a height for the associated panel, so that to enable the Vertical scroll bar you should do the following:
- In the same panel Tag, I have added a Height property and set it to appropriate value like (590px).
- Great, The vertical scroll bar is now enabled and worked properly.