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

RadTextBox in ItemTemplate - can not Select Text, Ctrl-A, or Shift+Arrow

1 Answer 177 Views
Input
This is a migrated thread and some comments may be shown as answers.
Sugar
Top achievements
Rank 1
Sugar asked on 23 Apr 2009, 02:16 AM
I'm having an issue with the RadTextBox inside an ItemTemplate in the RadToolBar. Sample of code is below. The problem I'm having is trying to select all the text in the text box. I can't do Ctrl-A, I can't hold Shift+arrow keys to select text, there is nothing I can do to select all the text. Is there anything to correct this?

Telerik.Web.UI -- 2008.03.1314.20

<asp:ContentPlaceHolder ID="PrimaryContent" runat="server">                         
<div class="Toolbar">
                <telerik:RadToolBar ID="EntityToolbar" runat="server" Skin="Office2009" EnableEmbeddedSkins ="false" OnClientButtonClicked="ToolBar_Clicked">
                    <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>
                        <Items>
                            <telerik:RadToolBarButton runat="server" Text="New"     Value="new"   ImageUrl="~/images/ToolBar/New.gif"/>
                            <telerik:RadToolBarButton runat="server" Text="Edit"    Value="edit"  ImageUrl="~/images/ToolBar/Edit.gif"/>
                            <telerik:RadToolBarButton runat="server" Text="Delete"  Value="delete" ImageUrl="~/images/ToolBar/Delete.gif"/>
                            <telerik:RadToolBarButton runat="server" Text="Copy"    Value="copy"    Visible="false"/>
                            <telerik:RadToolBarButton runat="server" Text="Search" Value="searchbox" Visible="true">
                            <ItemTemplate><telerik:RadTextBox ID="searchvalue" runat="server" Skin="Office2009" Width="125px" EnableEmbeddedSkins="False" /></ItemTemplate>
                            </telerik:RadToolBarButton>
                            <telerik:RadToolBarButton runat="server" Text="Search"  Value="search" ImageUrl="~/images/ToolBar/Lookup.gif" Visible="true" />
                        </Items>
                </telerik:RadToolBar>
</div>
            </asp:ContentPlaceHolder>

1 Answer, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 27 Apr 2009, 11:13 AM
Hello Sugar,

The problem is indeed strange and I am not able to replicate it locally. Can you please check whether the same issue appear when you move the RadTextBox instance outside of the RadToolBar template (either directly on the page or inside ItemTemplate of other data-bound control)? Additionaly, does this issue appear under a particular browser only or is cross-browser?

The answers to these questions will help us determine whether the issue is related to the toobar instance and how to proceed in our investigation. A live url where the discrepancy can be observed will be appreciated as well.

Kind regards,
Sebastian
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Input
Asked by
Sugar
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
Share this question
or