How Add Percanteage Text Box With Decimal And Percentage Sign Using Telerik RadControls

2 posts, 1 answers
  1. SilverLight
    SilverLight avatar
    5 posts
    Member since:
    May 2012

    Posted 11 Jun 2012 Link to this post

    How Can I Add Percanteage Text Box With **Decimal** And **Percentage Sign** Using Telerik RadControls?  
    mean Telerik MaskedTextBox or Telerik NumericTextBox?  
    which one and how?  
    i wrote the aspx codes below :  

    <telerik:RadNumericTextBox ID="RadNumerictxtPercent_Taliya" runat="server"
        Type="Percent" Width="60px" EnableEmbeddedSkins="False" Skin="BlackByMe" ValidationGroup="C"
        MaxValue="20" MinValue="0">
        <NumberFormat DecimalDigits="2" ZeroPattern="n %" />
    </telerik:RadNumericTextBox>

    but i can not increase and decrease percentage (decimal area) using keyborad!  
    also it seems there is a problem about percentage sign in that aspx code!  
    how can i fix them?  

    thanks in advance
  2. Answer
    Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 11 Jun 2012 Link to this post

    Hi SilverLight,

    Try setting IncrementSettings properties as follows to achieve your scenario.

    ASPX:
    <IncrementSettings InterceptArrowKeys="true" InterceptMouseWheel="true" Step=".01" />

    Hope this helps.

    Thanks,
    Princy.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top