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

Problem BusyIndicator with MaskedNumericInput

2 Answers 48 Views
BusyIndicator
This is a migrated thread and some comments may be shown as answers.
Dirk
Top achievements
Rank 1
Iron
Dirk asked on 06 Jan 2012, 12:38 PM

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"
        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;
        }
    }
}

2 Answers, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 11 Jan 2012, 10:06 AM
Hello Dirk,

Thank you for reproting this issue. I logged it as a bug in our PITS so that you can track its progress. I also updated your Telerik account for bringing it to our attention.

All the best,
Tina Stancheva
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
Vladislav
Telerik team
answered on 29 Feb 2012, 12:35 PM
Hi Dirk,

We want to inform you that this issue is fixed in our latest official 2012 Q1 release.
It will be great if you can give it a try and let us know if it works for you.

On a separate note, I'd like to let you know that there are 5 brand new controls that we included in this release:
- Diagrams (Beta)
- GanttView (CTP)
- TimeLine
- ListBox (Beta)
- DataBar
When you have time, you can give them a try as we will highly appreciate your feedback.


Greetings,
Vladislav
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
BusyIndicator
Asked by
Dirk
Top achievements
Rank 1
Iron
Answers by
Tina Stancheva
Telerik team
Vladislav
Telerik team
Share this question
or