If I place a javascript function to be called for the OnResize event on a master page's body, a page that uses the master cannot have the slider extender control on it. The resize function seems to be called in an infanite loop.
Master page body tag add an onresize="SizeBar()"
function SizeBar () {
var bh = document.documentElement.clientHeight - 170;
var ph = window.document.body.offsetHeight - 151;
var h =document.all.item("master_content").style.height
if (ph < bh) {
document.all.item("master_content").style.height=bh;
} else {
document.all.item("master_content").style.height=ph;
}
If you build a new ajax page that uses this master page with a slider control, the page will never load
Comments: This ticket was filed for a pre-15.1 version of AJAX Control Toolkit. If this is still an issue in v15.1 or later, please create a new inquiry.
Master page body tag add an onresize="SizeBar()"
function SizeBar () {
var bh = document.documentElement.clientHeight - 170;
var ph = window.document.body.offsetHeight - 151;
var h =document.all.item("master_content").style.height
if (ph < bh) {
document.all.item("master_content").style.height=bh;
} else {
document.all.item("master_content").style.height=ph;
}
If you build a new ajax page that uses this master page with a slider control, the page will never load
Comments: This ticket was filed for a pre-15.1 version of AJAX Control Toolkit. If this is still an issue in v15.1 or later, please create a new inquiry.