RadNumericInput Validation Notify Issue

4 posts, 0 answers
  1. Paul
    Paul avatar
    38 posts
    Member since:
    Oct 2008

    Posted 01 Oct 2012 Link to this post

    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?
  2. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 03 Oct 2012 Link to this post

    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.

    Regards,
    Tina Stancheva
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
  4. Paul
    Paul avatar
    38 posts
    Member since:
    Oct 2008

    Posted 05 Nov 2012 Link to this post

    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.
  5. Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1182 posts

    Posted 08 Nov 2012 Link to this post

    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.

    All the best,
    Pavel R. Pavlov
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top