Removing textbox from Input Manager using Javascript

2 posts, 0 answers
  1. Marie
    Marie avatar
    8 posts
    Member since:
    Dec 2008

    Posted 29 Apr 2009 Link to this post


    I have some textboxes that need to be added to and removed from an input manager dynamically (to make the textboxes required or optional) depending on whether a checkbox is checked or not.

    When the user clicks on a checkbox, I add my textboxes to the target controls using the following code:


    Is there a way to subsequently remove my textboxes from the target controls once the user unclicks a checkbox?  I couldn't find a 'removeTargetInput' method in the client side api.



  2. Todd Anglin
    Todd Anglin avatar
    2040 posts
    Member since:
    Aug 2005

    Posted 04 May 2009 Link to this post

    Hello Marie-

    Unfortunately, I don't think this portion of the RadInputManager's client-side API is fully supported (or fleshed-out) in the current version. Your suggestion makes sense, though, so hopefully the corresponding "remove" event can be added in an upcoming release to make the client-side capabilities of RadInputManager more powerful.

    At present, the best way to configure RadInputManager is via its server-side API (and RadAjax, if a dynamic update is required). Hope that helps.

Back to Top