From: Pieter S. <psi...@ya...> - 2006-03-24 16:30:37
|
Hi Richie, I don't know what problem you were originally referring to but disabling a button control on the client is like this (do it before making the actual callback): document.getElementById("btnShowDate").disabled = true; and enable it when the callback returns: document.getElementById("btnShowDate").disabled = false; HTH, Pieter Richie Rubin <ric...@gm...> wrote: I've fixed the response.redirect error using the following code: Anthem.Manager.AddScriptForClientSideEval("window.location = 'PAGENAME/';") but at this point I notice that the button, while disabled during callback, becomes active for a short period before the page is redirected. Seeing I'm not too familiar with javascript I'm not sure how to make the button disabled throughout the redirect process. Does anyone have any ideas? Thanks! Richie ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ anthem-dot-net-users mailing list ant...@li... https://lists.sourceforge.net/lists/listinfo/anthem-dot-net-users Visit my web site: http://www.pietsieg.com --------------------------------- New Yahoo! Messenger with Voice. Call regular phones from your PC for low, low rates. |