This question is locked. New answers and comments are not allowed.
I have problems with the new release (2011.3 SP1) of the Telerik Silverlight controls.
If I have a MaskedNumericInput control inside a BusyIndicator control and set the IsBusy property to true and false the text inside the MaskedNumericInput control isn't shown correctly. (see pictures)
Please habe a look in the example.
Press the buttons 'start', 'set value', 'end' and see what happend.
Regards
Dirk
XAML:
<
UserControl
x:Class
=
"RadControlsSilverlightApp8.MainPage"
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
mc:Ignorable
=
"d"
d:DesignWidth
=
"640"
d:DesignHeight
=
"480"
>
<
Grid
x:Name
=
"LayoutRoot"
>
<
Grid.RowDefinitions
>
<
RowDefinition
/>
<
RowDefinition
Height
=
"50"
/>
</
Grid.RowDefinitions
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
/>
<
ColumnDefinition
/>
<
ColumnDefinition
/>
</
Grid.ColumnDefinitions
>
<
telerik:RadBusyIndicator
x:Name
=
"busyIndicator"
BusyContent
=
"Moment bitte ..."
Grid.ColumnSpan
=
"3"
>
<
telerik:RadMaskedNumericInput
x:Name
=
"radMaskedNumericInput"
HorizontalAlignment
=
"Stretch"
EmptyContent
=
"Nothing"
Mask
=
"#10,5"
TextMode
=
"PlainText"
TabNavigation
=
"Local"
FontSize
=
"9"
IsClearButtonVisible
=
"False"
AutoFillNumberGroupSeparators
=
"false"
AutoFillZeros
=
"False"
HorizontalContentAlignment
=
"Center"
BorderBrush
=
"{x:Null}"
Placeholder
=
" "
MaxHeight
=
"16"
SelectionOnFocus
=
"Default"
SpinMode
=
"None"
UpdateValueEvent
=
"PropertyChanged"
Text
=
""
/>
</
telerik:RadBusyIndicator
>
<
Button
Grid.Row
=
"1"
Content
=
"Start"
Click
=
"Button_Click"
/>
<
Button
Grid.Row
=
"1"
Grid.Column
=
"1"
Content
=
"Set Value"
Click
=
"Button_Click_2"
/>
<
Button
Grid.Row
=
"1"
Grid.Column
=
"2"
Content
=
"End"
Click
=
"Button_Click_1"
/>
</
Grid
>
</
UserControl
>
Code behind:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
namespace RadControlsSilverlightApp8
{
public partial class MainPage : UserControl
{
public MainPage()
{
InitializeComponent();
}
private void Button_Click(object sender, RoutedEventArgs e)
{
busyIndicator.IsBusy = true;
}
private void Button_Click_1(object sender, RoutedEventArgs e)
{
busyIndicator.IsBusy = false;
}
private void Button_Click_2(object sender, RoutedEventArgs e)
{
radMaskedNumericInput.Value = 12;
}
}
}