RadMaskedNumericInput ext:MaskedInputExtensions.Minimum property in style resource

3 posts, 0 answers
  1. Milt
    Milt avatar
    4 posts
    Member since:
    Sep 2011

    Posted 07 Oct 2011 Link to this post

    I am trying to mask out negative numbers while using RadMaskedNumericInput.  There was a thread on setting ext:MaskedInputExtensions.minimum="0" and that works great for us.  We have about 50 RadMaskedNumericInput instances, so I added the following to our style resource xaml for RadMaskedNumericInput:

     

        <Setter Property="ext:MaskedInputExtensions.Minimum" Value="0" />
    I am now getting the following exception:
            {"'Set property 'System.Windows.Setter.Property' threw an exception.' Line number '1423' and line position '10'."}
            {"Value cannot be null.\r\nParameter name: property"}

    Can this property be in the style resource XAML?  If so, how should that be specified?  Any advise would be appreciated.

    Thanks,
    -Milt

     

  2. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 12 Oct 2011 Link to this post

    Hello Milt,

    You are properly setting the property in the Style Setter, however we found a bug in the implementation of the MaskedInputExtensions properties. This bug is causing the exception you reported. I logged it in our PITS where you can track its progress. Please accept our apology for this inconvenience.

    We will fix it for the next internal build. I also updated your Telerik account for bringing this issue 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 >>

  3. UI for WPF is Visual Studio 2017 Ready
  4. Milt
    Milt avatar
    4 posts
    Member since:
    Sep 2011

    Posted 12 Oct 2011 Link to this post

    Thanks Tina,

    I will track this issue.

    -Milt
Back to Top