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

[Solved] Binded Value does not change on textchanged

2 Answers 97 Views
NumericBox for XAML
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Vinay
Top achievements
Rank 1
Vinay asked on 23 May 2014, 12:56 PM
Hello,

I am using RadNumericBox into my project.

I have used below code ;

 <Input:RadNumericBox x:Name="rnbQuantity"
                                                     Value="{Binding SelectedValue.No, ElementName=itemListView, Mode=TwoWay}"
                                                     ValueFormat="{}{0,0:0}" ButtonsVisibility="Collapsed" FontSize="18" MinWidth="90"
                                                     >
                                    <Input:RadNumericBox.Resources>
                                        <Style TargetType="telerikNumericBox:NumericTextBox">
                                            <Setter Property="BorderThickness" Value="1"></Setter>
                                        </Style>
                                    </Input:RadNumericBox.Resources>
                                    
                                </Input:RadNumericBox>

I have given TwoWay binding mode, but the value does not get changed when I press back button of the screen, without loosing focus of RadNumericBox.

I also Implement INotifyPropertyChanged.


Any suggestion?

Thanks,

Vinay




2 Answers, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 28 May 2014, 11:13 AM
Hi Vinay,

I am afraid, we are not aware of databinding issues with RadNumeric box. Can you please provide more information about your scenario? Is the "Back" button you mentioned a custom implementation of yours?  I have attached a small example showing two-way binding in RadNumericBox. You can update it so that it matches your scenario and the issue is reproduced. Then you can send it back to us, so that we can review it. Thank you.

Best regards,
Ves
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Vinay
Top achievements
Rank 1
answered on 26 Jun 2014, 06:06 AM
Hello Ves,

Thanks for the reply.

Not sure what I am doing wrong...But It is not working for me.

I will dig more into this.

Thanks again,

Vinay
Tags
NumericBox for XAML
Asked by
Vinay
Top achievements
Rank 1
Answers by
Ves
Telerik team
Vinay
Top achievements
Rank 1
Share this question
or