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

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

    Posted 15 Apr 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
    2882 posts

    Posted 18 Apr 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. DevCraft R3 2016 release webinar banner
  4. Vikas
    Vikas avatar
    36 posts
    Member since:
    Dec 2015

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

    Thanks, Will give that a try.
Back to Top