This is a migrated thread and some comments may be shown as answers.

RadTreeView ClientTemplate input space bar is not working

1 Answer 48 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Somnath
Top achievements
Rank 1
Somnath asked on 01 Mar 2013, 08:55 AM
Hi ,

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


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
   OnClientLoad="clientLoad"

    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 ,
Somnath

1 Answer, 1 is accepted

Sort by
0
Bozhidar
Telerik team
answered on 01 Mar 2013, 09:04 AM
Hi Somnath,

This was a bug in RadTreeView that was fixed for the 2013 Q1 release, as can be seen in the release notes:
http://www.telerik.com/products/aspnet-ajax/whats-new/release-history/q1-2013-version-2013-1-220.aspx
 
Regards,
Bozhidar
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.
Tags
TreeView
Asked by
Somnath
Top achievements
Rank 1
Answers by
Bozhidar
Telerik team
Share this question
or