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

RadMaskedNumericInput ValidationTooltip empty text

1 Answer 95 Views
MaskedInput (Numeric, DateTime, Text, Currency)
This is a migrated thread and some comments may be shown as answers.
Yuri
Top achievements
Rank 1
Yuri asked on 08 Jul 2013, 04:55 PM
Hello,
I use
<telerik:RadMaskedNumericInput x:Name="tbNumberOfPeriods" Grid.Row="1" Grid.Column="3" Width="40"
              Value="{Binding Path=CustomCalendar.NumberOfPeriods, Mode=TwoWay, ElementName=customCalendarControl, UpdateSourceTrigger=PropertyChanged, NotifyOnValidationError=True, ValidatesOnExceptions=True}"
              ErrorMessage="{Binding Path=Text, ElementName=customErrorMessage}"
              AutoFillNumberGroupSeparators="False" TextMode="MaskedText" Mask="#2.0" IsClearButtonVisible="False" AutoFillZeros="False"
              TabIndex="2" IsLastPositionEditable="False" />
when first time i clicked on the validation error I got empty text in ValidationTooltip. Error text becomes normal when I lost focus from browser(alt+tab or Ctrl+Esc or again clicked validation error).
ValidationTooltip and RadMaskedNumericInput have default styles.
Telerik.Windows.Controls version: 2013.1.403.1050
Any ideas how to fix it?

1 Answer, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 11 Jul 2013, 09:12 AM
Hello Yuri,

Could you please send us your ViewModel's code ? You can check out our help articles for validation:
Throwing Validation Exception
Using DataAnnotation Attributes
Please have in mind that there are some differences in the two approaches. For example, the second one needs setting AllowInvalidValues to True. Let us know if using one of these cause the mentioned issue too.

Regards,
Petar Mladenov
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
MaskedInput (Numeric, DateTime, Text, Currency)
Asked by
Yuri
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Share this question
or