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

TextBox not working as expected in RadDataGrid

1 Answer 76 Views
DataGrid
This is a migrated thread and some comments may be shown as answers.
Samrat
Top achievements
Rank 1
Samrat asked on 20 Dec 2017, 12:50 PM

I have a TextBox as UWP RadGrid's cell data template which is not working as expected after setting UpdateSourceTrigger=PropertyChanged.

Its caret position changes to the start of the text after each keystroke. That's why if I try to enter 123 then it shows 321 in the text box. Note that, it is working fine if I remove the UpdateSourceTrigger=PropertyChanged.

How can I  solve this problem?

 

<rad:DataGridTemplateColumn.CellContentTemplate><br
 <DataTemplate>
  <TextBox x:Name="SetInHours" Text="{Binding SetInHours, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
  </DataTemplate><br>
</rad:DataGridTemplateColumn.CellContentTemplate>

1 Answer, 1 is accepted

Sort by
0
Tsvyatko
Telerik team
answered on 22 Dec 2017, 12:29 PM
Hello Samrat,

I can confirm the issue from our side. Unfortunately, I cannot offer reasonable workaround for this issue. Please excuse us for the inconvenience caused.


 I have logged it in feedback portal where you can track its progress. I have also updated your telerik points.

Regards,
Tsvyatko
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
DataGrid
Asked by
Samrat
Top achievements
Rank 1
Answers by
Tsvyatko
Telerik team
Share this question
or