Dynamic Min/Max value

4 posts, 0 answers
  1. Ladislav
    Ladislav avatar
    32 posts
    Member since:
    Jan 2009

    Posted 05 Oct 2015 Link to this post

    I made an example that use NumerticTextbox and the Min/Max value can be changed if the button "Change Min/Max" clicked
    Please see my example at http://dojo.telerik.com/ufeyU

    Explain:

    when the button was clicked, i expected that the validation range will be changed, but it s not.

    Question: 

    Is it possible to use NumericTextBox to validate a range that can be changed on the fly.

  2. Konstantin Dikov
    Admin
    Konstantin Dikov avatar
    1793 posts

    Posted 06 Oct 2015 Link to this post

    Hello Ladislav,

    In order to change the min and max properties of the NumericTextBox in your example, you need to set either the minValue or maxValue variables to the k-rebind attribute:
    Hope this helps.


    Regards,
    Konstantin Dikov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
  4. Shameer
    Shameer avatar
    2 posts
    Member since:
    Feb 2016

    Posted 03 Oct in reply to Konstantin Dikov Link to this post

    Hi,

      I have similar scenario , But need to bind both minValue and maxValue dynamically in the Numeric TextBox .Please let me know is there any way to achieve this ?

    Thanks,

    Shameer

  5. Konstantin Dikov
    Admin
    Konstantin Dikov avatar
    1793 posts

    Posted 04 Oct Link to this post

    Hi Shameer,

    Please refer to the following help topic for details regarding the k-rebind and how you can use it to watch for multiple options:
    Hope this helps.


    Regards,
    Konstantin Dikov
    Telerik by Progress
     
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
     
Back to Top
Kendo UI is VS 2017 Ready