Vertical scroll bar disabled in Modal Popup Extender

In this post, we will be fixing Vertical scroll bar disabled in Modal Popup Extender in ASP.NET.

You might also like to read Replace broken image JavaScript 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:

Vertical scroll bar in Modal Popup Extender

But I had noticed that the Vertical scroll bar disabled in Modal Popup Extender as shown below:

Vertical scroll bar disabled in Modal Popup Extender

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).
scroll bar missing
  • Great, The vertical scroll bar is now enabled and worked properly.
add vertical scroll bar in modal popup extender

See Also

Leave a Reply