only negative values

2 posts, 0 answers
  1. Anjali
    Anjali avatar
    101 posts
    Member since:
    Dec 2010

    Posted 08 Aug 2011 Link to this post

    Hi All,

    Is their any radtextbox that allows users to enter only negative values and zero.

    Please let me know.
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 09 Aug 2011 Link to this post

    Hello Anjali,

    Try setting the RadNumericTextBox as shown below to enter only negative values and zero.
    aspx:
    <telerik:RadNumericTextBox ID="num" runat="server" MaxValue="0" MinValue="-87">
          <NumberFormat NegativePattern="-" />
    </telerik:RadNumericTextBox>

    Thanks,
    Princy.
Back to Top