Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Sys.Application / Javascript / Remove Extenders

Sys.Application / Javascript / Remove Extenders

Scheduled Pinned Locked Moved ASP.NET
javascripthtmlsalestoolsquestion
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Malcolm Smart
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups