Are you talking about the extra scroll you get when the modal panel is up?
If so, try adding the following function to your page:
{
document.getElementsByTagName('html')[0].style.overflow= show=='true'?'auto':'hidden';
}
And call it in the OnOkScript and OnCancelScript of your extender like so:
On...Script="ShowScrollbars('true')"
And in your OnClick of the control that pops the modal panel:
onClick="ShowScrollbars('false')"
This will turn the scrollbars off while the modal window is displayed.
No comments:
Post a Comment