Disable all controls

4 posts, 1 answers
  1. Alex
    Alex avatar
    51 posts
    Member since:
    May 2015

    Posted 07 Feb Link to this post

    I'm trying to write some javascript that will disable/enable all controls, regardless of type, in a specified div.

    How can I do this? I understand that I might have to write a little code for each time of control, but I need to know where to start.

     

  2. Answer
    Rumen
    Admin
    Rumen avatar
    13043 posts

    Posted 08 Feb Link to this post

    Hello Alex,

    You may find useful the following sample: http://jsfiddle.net/falafelsoftware/p6zk1n4s/ and can use it as a base to proceed with your scenario.


    Best regards,
    Rumen
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  3. Alex
    Alex avatar
    51 posts
    Member since:
    May 2015

    Posted 08 Feb in reply to Rumen Link to this post

    This is Great, and I think will solve my issues for now, but it doesn't seem intuitive on how this would be done for other controls. Are there plans in the future to create some generic interface for all kendo controls so that you can do common things like "disable" for a group of controls, even if you don't know the ID's or names, etc.?

  4. Rumen
    Admin
    Rumen avatar
    13043 posts

    Posted 08 Feb Link to this post

    Hello Alex,

    It would be great if you post your useful idea in the Kendo User Voice portal to see how popular it will become.

    Best regards,
    Rumen
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top