Textbox double spacebar

4 posts, 0 answers
  1. Jacek
    Jacek avatar
    3 posts
    Member since:
    Apr 2012

    Posted 04 Jun 2013 Link to this post

    Hi,

    I have the problem with textbox in RadListBox. There's empty RadListBox ( no resources, no styles etc. ) and TextBox inside. When i type any character in textbox it is working properly, but when i type spacebar, i have double space. It's everytime i type spacebar and only spacebar. For example when i type abc spacebar bca in my textbox i have abc  bca, with 2 white spaces. every one spacebar gives mi two white spaces
  2. Vladi
    Admin
    Vladi avatar
    744 posts

    Posted 07 Jun 2013 Link to this post

    Hi,

    We are not sure we understand you correctly. In the RadListBox control there isn't an editable TextBox component by default. Could you send us some code snippets of the control, have you customize its template in any way? Also some screenshots of the mentioned TextBox would be appreciated.

    If you could share with us the steps needed to reproduce the issue it would be very helpful.

    Regards,
    Vladi
    Telerik

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. UI for WPF is Visual Studio 2017 Ready
  4. Jacek
    Jacek avatar
    3 posts
    Member since:
    Apr 2012

    Posted 10 Jun 2013 Link to this post

    Hi,

    This is something like that, i have textbox and telerik:RadListBox inside stackpanel. Inside telerik:RadListBox there is antoher textbox

    <StackPanel>
                            <TextBox x:Name="textOne" Text="test" /> 
                            <telerik:RadListBox Grid.Row="1">
                                <TextBox x:Name="textTwo" Text="dwa" />
                            </telerik:RadListBox>
    </StackPanel>

    When i type spacebar in textOne, there will be only only space in text ( for example "aabb aacc").
    When i type the same text in textTwo, there will be two spaces ( "aabb  aacc").

    It's happening only in textbox wchich is inside telerik:RadListBox



  5. Vladi
    Admin
    Vladi avatar
    744 posts

    Posted 10 Jun 2013 Link to this post

    Hi,

    We are not aware of such issue in the RadListBox control.

    Are you sure you are using the listed in the thread assemblies version (2013.1 403)? If not could you share with us the version that you are using.

    I recorded a short video for you that shows how the control behaves on our side.

    Regards,
    Vladi
    Telerik

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top