changing maxvalue and invalue from codebehind,

6 posts, 0 answers
  1. Carlos
    Carlos avatar
    96 posts
    Member since:
    Apr 2013

    Posted 24 Jan Link to this post

    HI all,

     

    Im trying to change the maxvalue from a radnumericbox from codebehind.

    the value changes depending the value of od a radcombobox, i having problem with that tried in selectindexchange and even on the radnumeric onload but nothing works any opinions how i can do this , from code behind.

     

    Best Regards

  2. Patrick
    Admin
    Patrick avatar
    204 posts

    Posted 25 Jan Link to this post

    Hello Carlos,

    Please take a look at the attached example which demonstrates a RadComboBox changing the maxValue of the RadNumericTextBox.  Please note, in order for the OnSelectedIndexChanged event to be fired, set the AutoPostBack to true.  

    I hope this helps!

    Regards,
    Patrick
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  3. Carlos
    Carlos avatar
    96 posts
    Member since:
    Apr 2013

    Posted 25 Jan in reply to Patrick Link to this post

    Thanks, but i doesn't work i already tried that method, it does not influence, the numericbox maxvalue.

     

     

  4. Patrick
    Admin
    Patrick avatar
    204 posts

    Posted 26 Jan Link to this post

    Hello Carlos,

    In order to better understand your setup, please send the code of your markup and code behind.  

    Also, could you please confirm the component you are using?  Is it the RadNumericTextBox for ASP.NET AJAX?

    I look forward to your response.

    Regards,
    Patrick
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  5. Carlos
    Carlos avatar
    96 posts
    Member since:
    Apr 2013

    Posted 26 Jan in reply to Patrick Link to this post

    yes it is RadNumericTextBox for ASP.NET AJAX, its dificult to send some code to you.
  6. Konstantin Dikov
    Admin
    Konstantin Dikov avatar
    2135 posts

    Posted 31 Jan Link to this post

    Hello Carlos,

    Since the approach that Patrick attached works correctly, the problem might be due to the implementation that you have, so in order for us to be able to assist you any further we will need a code snippets that show the exact scenario.


    Regards,
    Konstantin Dikov
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top