Disable combo box after ajax load

2 posts, 0 answers
  1. Vladica
    Vladica avatar
    2 posts
    Member since:
    Aug 2013

    Posted 29 Aug 2013 Link to this post


    I use asp.net mvc helper to define combo boxes. I have 3 of them and the are all cascading. What I need is a way to disable them after their datasources are  loaded (this is some edit functionality). 
    I try to use databound event handler but enable is not working, even more, it seems that control is automatically enabled after databound event is fired. 
    Can you please suggest some workaround?

  2. Alexander Popov
    Alexander Popov avatar
    1436 posts

    Posted 30 Aug 2013 Link to this post

    Hi Vladica,

    You can disable the ComboBox using the dataBound event and call the widget's enable method after 100 ms as shown below:
    function disableComboBox(e) {
        setTimeout(function () {this.sender.enable(false)}.bind(this), 100);


    Alexander Popov
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top