Sys.Application / Javascript / Remove Extenders
-
Hi I have a Panel, which contains 'customer information', ie date of order etc. Input is aided by extenders, checkBox, date validation etc. All out of the box microsoft Ajax extenders. Works a treat. I have a close button - which when clicked, fires some javascript to remove the panel from the DOM, and then calls a webservice. The user doesn't care about the webservice, they're just pleased the panel has gone (quickly). But....removing the panel does not remove the Script that the Ajax library injected into the page. So if they load up the Panel for the same customer, javascript errors are abound saying you can't add the same control twice - for each extender I try and add. So...how can I, via javascript, remove the script that was added by the extender, or is there a safe way to remove the whole extender, including script, clientside. I really don't want a postback here. Cheers Malc
Small angry dogs