Unplanned
Last Updated: 04 Nov 2018 22:22 by Natondra
ADMIN
Peter Milchev
Created on: 29 Oct 2018 12:51
Category: TreeView
Type: Bug Report
1
Keyboard events are fired when TextArea in NodeTemplate is focused
Workaround: 

function OnClientLoad(sender, args) {
    sender._isEditableElementInTemplate = function (target) {

        return target && $(target).closest(".rtTemplate").length > 0 &&
                (target.tagName.toUpperCase() == 'INPUT' ||
                target.tagName.toUpperCase() == 'TEXTAREA' ||
                (target.isContentEditable));
    }
}

<telerik:RadTreeView OnClientLoad="OnClientLoad" ID="RadTreeView1" runat="server" ... >
0 comments