RadTreeView ClientTemplate input space bar is not working

2 posts, 0 answers
  1. Somnath
    Somnath avatar
    43 posts
    Member since:
    Jun 2012

    Posted 01 Mar 2013 Link to this post

    Hi ,

    I am binding treenodes using webmethod and having following clientitemtemplate
    span id="#=Value#_span">#=Text#</span>
    input type="text" value="#=Text#" style="display:none;width:100px;" id="#=Value#_txtEdit" ></input>

    I am showing/hiding  input control using javascript.

    When I am editing the name in input control it is not accepting space bar (blank space)

    I have also tried following solution provided in your forums

        function clientLoad(sender) {
                $telerik.$("input", sender.get_element()).on('keydown', function (e) {
                    if (!e) var e = window.event;
                    e.cancelBubble = true;
                    if (e.stopPropagation) e.stopPropagation();

    Please help for the same

    Thanks ,
  2. Bozhidar
    Bozhidar avatar
    1142 posts

    Posted 01 Mar 2013 Link to this post

    Hi Somnath,

    This was a bug in RadTreeView that was fixed for the 2013 Q1 release, as can be seen in the release notes:
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top