This question is locked. New answers and comments are not allowed.
We just recently migrated to the RadRibbonView and are having some data binding issues with our text box controls: Here's an example:
With this XAML, a user can type into the Text Box, which binds to the InputText property. If they type into the text box and immediately hit "Save", the text box lost focus event never fires, which means the binding does not get updated.
Is this a bug or intentional (RadRibbonBar never had this issue)? Either way, I need to figure out a way to get this to bind properly without having to use a different update trigger such as ontextchanged.
<StackPanel Orientation="Vertical"> <telerik:RadRibbonView ApplicationButtonImageSource="AppIcon.png" Title="Microsoft Word" x:Name="ribbonView"> <telerik:RadRibbonTab Header="Home"> <telerik:RadRibbonGroup Header="Test"> <telerik:RadRibbonButton Click="SaveButton_Click" Content="Save" Size="Large"></telerik:RadRibbonButton> </telerik:RadRibbonGroup> </telerik:RadRibbonTab> <telerik:RadRibbonTab Header="View" /> </telerik:RadRibbonView> <StackPanel Orientation="Horizontal"> <TextBlock>Test binding: </TextBlock> <TextBox Text="{Binding Path=InputText, Mode=TwoWay}" MinWidth="400"></TextBox> <TextBox x:Name="txtOutput"></TextBox> </StackPanel> </StackPanel>With this XAML, a user can type into the Text Box, which binds to the InputText property. If they type into the text box and immediately hit "Save", the text box lost focus event never fires, which means the binding does not get updated.
Is this a bug or intentional (RadRibbonBar never had this issue)? Either way, I need to figure out a way to get this to bind properly without having to use a different update trigger such as ontextchanged.