Problem with DropDownList and ComboBox gradients

7 posts, 0 answers
  1. Mike
    Mike avatar
    3 posts
    Member since:
    Dec 2012

    Posted 03 Jan 2013 Link to this post

    There appears to be a problem with the k-header class' gradients when used with the DropDownList and ComboBox. The problem appears in those widgets' demos and in a custom DropDownList that I built off the demo. The problem occurs in both Chrome and FireFox.
  2. Alexander Valchev
    Admin
    Alexander Valchev avatar
    2875 posts

    Posted 07 Jan 2013 Link to this post

    Hello Michael,

    Can you please describe in more details what is the problem? A screen shot will be also appreciated.

    Kind regards,
    Alexander Valchev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Kendo UI is VS 2017 Ready
  4. Sriraksha
    Sriraksha avatar
    8 posts
    Member since:
    Apr 2015

    Posted 21 Apr 2015 Link to this post

    Hi,

    We are using the latest release of telerik 2015.1.408 and observe that data binding issue is still not fixed. It is neither working on combobox/grid. When we try to deploy the code on IE it works well, but the same doesnt work on chrome. Please send us the solution or ETA for the same.

  5. Alexander Valchev
    Admin
    Alexander Valchev avatar
    2875 posts

    Posted 23 Apr 2015 Link to this post

    Hi Sriraksha,

    Could you please provide a small but run-able Kendo Dojo example which demonstrates your current implementation so I can examine it and advise you accordingly?

    Regards,
    Alexander Valchev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  6. Sriraksha
    Sriraksha avatar
    8 posts
    Member since:
    Apr 2015

    Posted 23 Apr 2015 in reply to Alexander Valchev Link to this post

    Hello Alexander,

    Thanks for your reply.

    The chrome issue has been resolved but now I am unable to bind the "checked" property of kendo  treeview(checkboxes).

    I have data with json format and those having  a isChecked:true ,I want that to bind to treeview checkbox but its not accepting that code.

    Please have a look

    The scenario is like this:

    //Json data in flatdata variable

    var flatdata = [{ "columnId": null, "hasChildren": true, "id": 1, "isChecked": true, "objectId": 1029578706, "parentId": null, "name": "Audit" },
      { "columnId": 11, "hasChildren": false, "id": 19, "isChecked": true, "objectId": 1029578706, "parentId": 1, "name": "AuditId" },
                         { "columnId": 4, "hasChildren": false, "id": 20, "isChecked": true, "objectId": 1029578706, "parentId": 1, "name": "FieldName" }];

    //Binding that to treeview.

      $("#treeview").kendoTreeView({                   
            checkboxes: {
                checkChildren: true,           
            },
            dataTextField: "name",      
            
            dataSource: {
                transport: {
                    read: function (options) {
                        var id = options.data.id || null;
                        options.success($.grep(flatdata, function (x) {
                            return x.parentId == id;
                        }));
                    }
                },                       schema: {
                    model: {                 
                        id: "id",                      
                        hasChildren: function (x) {
                            var id = x.id;
                            for (var i = 0; i < flatdata.length; i++) {
                                if (flatdata[i].parentId == id) {
                                    return true;
                                }
                            }
                            return false;
                           
                        }
                                
                    }
                }
            }
        })

    Everything is fine ,Means the Parent-child relationship is working fine .

    You can find in that flatdata ,there is a property isChecked, I want to assign that property to treeview,so that I can checked the checkboxes whose isChecked=true.

    Means here Audit and AuditId should be checked condition.

    Please have a look into it.

    Thanks

    Sriraksha

     

     

     

  7. Alexander Valchev
    Admin
    Alexander Valchev avatar
    2875 posts

    Posted 27 Apr 2015 Link to this post

    Hello Sriraksha,

    Please use 'checked' instead of 'isChecked' and the TreeView will automatically update the checkboxes state. For your convenience I prepared a small example:
    • http://dojo.telerik.com/@valchev/ejUmU


    Regards,
    Alexander Valchev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  8. Sriraksha
    Sriraksha avatar
    8 posts
    Member since:
    Apr 2015

    Posted 27 Apr 2015 Link to this post

    Thank You Alexander... will check it out
Back to Top
Kendo UI is VS 2017 Ready