We have an issue with the RadNumericInput control. It does not display the error template (border or tooltip) when an error is raised until you roll over the control. The error tooltip also appears blank. How can we resolve this issue?
3 Answers, 1 is accepted
0
Tina Stancheva
Telerik team
answered on 03 Oct 2012, 09:13 AM
Hi Paul,
Are you testing your solution with our latest release? If yes, can you give us more information about the validation approach(trowing ValidationExceptions, using RegEx, DataAnnotations or IDataErrorInfo) you've implemented? That will help us to better understand the issue and advice you how to get over it.
We are not using the latest version, we are currently using version v.2011.2.712.1040. We have an object that implements INotifyDataErrorInfo and is bound to the RadNumericInput control like so: Value="{Binding Path=Quantity, Mode=TwoWay, ValidatesOnDataErrors=True}". To raise an error notification we simply call SetError("Quantity", "Required field") which calls function:
Public Event ErrorsChanged As EventHandler(Of DataErrorsChangedEventArgs) Implements INotifyDataErrorInfo.ErrorsChanged
Protected Sub SetError(ByVal propertyName As String, ByVal propertyError As String)
' Add the list collection for the specified property.
_errors.Add(propertyName, New List(Of String) From {propertyError})
' Raise the error-notification event.
RaiseEvent ErrorsChanged(Me, New DataErrorsChangedEventArgs(propertyName))
End Sub
This works for all other controls.
0
Pavel R. Pavlov
Telerik team
answered on 08 Nov 2012, 08:15 AM
Hi Paul,
We had this kind of issues with in our previous releases. Can you please try to reproduce this issue with out latest official release (2012.3.1017)? Also if it is reproducing it will be best if you send us the project so we will be able to debug it. Thank you for your cooperation.