Can only base on a Style with target type that is base type 'RadMaskedNumericInput'

3 posts, 0 answers
  1. Vikas
    Vikas avatar
    37 posts
    Member since:
    Dec 2015

    Posted 15 Apr 2016 Link to this post

    I started getting this error after using implicit styles. I am using version 2016.1.217.45

    This is my XAML for mumeric input 

    <telerik:RadMaskedNumericInput Mask="########" MaskedInput:MaskedInputExtensions.Maximum="99999999" 
                                                                   TextMode="PlainText" MaskedInput:MaskedInputExtensions.Minimum="1"
                                                                   Width="100" IsClearButtonVisible="False" Value="{Binding Retention}"/>


    If i go into the Telerik.Windows.Controls.Input.xaml and update this line then the error goes away but then the input control is not displayed at all

        - <Style TargetType="controls:RadMaskedNumericInput" BasedOn="{StaticResource RadMaskedInputBaseStyle}" x:Key="RadMaskedNumericInputStyle">
        + <Style TargetType="controls:RadMaskedNumericInput" x:Key="RadMaskedNumericInputStyle">

  2. Petar Mladenov
    Petar Mladenov avatar
    2986 posts

    Posted 18 Apr 2016 Link to this post

    Hi Vikas,

    I guess you are using Visual Studio 2015. If yes, you can check this issue described already in our feedback portal. We have submitted a bug report to Miscrosoft between Update 1 and Update 2 of VS 2015. Their reply states that they have scheduled a fix for the next update. You can test whether the issue is reproducible in VS 2015 Update 2, however we will also test our scenarios in the next few weeks and we will update the information in the feedback portal.

    Petar Mladenov
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  3. Vikas
    Vikas avatar
    37 posts
    Member since:
    Dec 2015

    Posted 18 Apr 2016 in reply to Petar Mladenov Link to this post

    Thanks, Will give that a try.
Back to Top