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

2 posts, 0 answers
  1. Sugar
    Sugar avatar
    10 posts
    Member since:
    Jan 2009

    Posted 22 Apr 2009 Link to this post

    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>
                                <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 runat="server" Text="Search"  Value="search" ImageUrl="~/images/ToolBar/Lookup.gif" Visible="true" />

  2. Sebastian
    Sebastian avatar
    9934 posts

    Posted 27 Apr 2009 Link to this post

    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,
    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.
Back to Top