This is a migrated thread and some comments may be shown as answers.

Get column value and set Max value of another Column

1 Answer 276 Views
Grid
This is a migrated thread and some comments may be shown as answers.
SURYA
Top achievements
Rank 2
SURYA asked on 06 Jul 2016, 08:28 PM

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.

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 11 Jul 2016, 08:01 AM
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.
Tags
Grid
Asked by
SURYA
Top achievements
Rank 2
Answers by
Eyup
Telerik team
Share this question
or