Hi i found out the way
Sys.WebForms.PageRequestManager.getInstance().add_initializeRequest(
function (){
var arrSelects = document.getElementsByName('select')
for(var i=0;i<arrSelects.length;i++){
arrSelects[i].style.display = 'none'
}
}
)
but now another problem. document.getElementsByName('select') returns
nothing , does anyone know why?
ps: running javascript:document.getElementsByName('select').length in
browser address bar returns 5
> Is there a way to make it call a javascript function before an
> UpdateProgress is called (or right after)?
bruce barker - 02 Oct 2007 16:21 GMT
because 'select' is probably not the correct name of the control, or you
meant to use getElementsByTagName('select'). if the former try:
var arrSelects = document.getElementsByName('<%=select.UniqueID%>');
-- bruce (sqlwork.com)
> Hi i found out the way
>
[quoted text clipped - 16 lines]
>> Is there a way to make it call a javascript function before an
>> UpdateProgress is called (or right after)?