Disable spacebar from checking checkboxes

2 posts, 0 answers
  1. Charles
    Charles avatar
    1 posts
    Member since:
    Apr 2014

    Posted 03 Apr 2014 Link to this post

    I have a TreeView with checkboxes turned on and each child node has a datavalue and a textbox.  When a user types in the textbox, each time she hits the spacebar, the checkbox on that node and each parent node.  I need to disable this behavior.  Ideally, I would just disable the toggling to the checkboxes on spacebar.  Does anybody have any idea how to accomplish this?
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 04 Apr 2014 in reply to Charles Link to this post

    Hi Charles,

    Unfortunately I couldn't replicate the issue at my end. Please have a look into the sample code snippet which works fine at my end.

    ASPX:
    <telerik:RadTreeView ID="RadTreeView1" runat="server" CheckBoxes="true">
        <Nodes>
            <telerik:RadTreeNode Text="Node1">
                <Nodes>
                    <telerik:RadTreeNode Text="Node1.1">
                    </telerik:RadTreeNode>
                    <telerik:RadTreeNode Text="Node1.2">
                    </telerik:RadTreeNode>
                </Nodes>
            </telerik:RadTreeNode>
        </Nodes>
        <NodeTemplate>
            <telerik:RadTextBox ID="RadTextBox1" runat="server">
            </telerik:RadTextBox>
        </NodeTemplate>
    </telerik:RadTreeView>

    Please provide your code if it doesn't help.
    Thanks,
    Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top