Get column value and set Max value of another Column

2 posts, 0 answers
  1. SURYA
    SURYA avatar
    5 posts
    Member since:
    Aug 2014

    Posted 06 Jul Link to this post

    I have a radgrid which is batch edit mode. How can I get one column value and set Max value to another Column in grid.

    Thank You.

  2. Eyup
    Admin
    Eyup avatar
    3009 posts

    Posted 11 Jul Link to this post

    Hi Surya,

    You can use the following event handler to achieve this requirement:
    http://docs.telerik.com/devtools/aspnet-ajax/controls/grid/client-side-programming/events/onbatcheditcellvaluechanged

    And depending on the entered value, you can access the generated Batch edit control for the other column (RadNumericTextBox) and set its maxValue using the set_maxValue method:
    http://docs.telerik.com/devtools/aspnet-ajax/controls/input/client-side-programming/radnumerictextbox-client-object

    You can check the following post for further clarification on Batch editing:
    http://www.telerik.com/forums/radgrid-within-dataform#n5vi8Bq46UaeI2H-tURExg


    I hope this will prove helpful.

    Regards,
    Eyup
    Telerik by Progress
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top