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

Textbox double spacebar

3 Answers 102 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
Jacek
Top achievements
Rank 1
Jacek asked on 04 Jun 2013, 11:25 AM
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

3 Answers, 1 is accepted

Sort by
0
Vladi
Telerik team
answered on 07 Jun 2013, 07:32 AM
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.

0
Jacek
Top achievements
Rank 1
answered on 10 Jun 2013, 06:16 AM
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



0
Vladi
Telerik team
answered on 10 Jun 2013, 03:37 PM
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.

Tags
ListBox
Asked by
Jacek
Top achievements
Rank 1
Answers by
Vladi
Telerik team
Jacek
Top achievements
Rank 1
Share this question
or