RadControls for ASP .NET AJAX version |
2008.1.415 and later
|
.NET version |
2.0 and later
|
Visual Studio version |
2005 and later
|
Programming language |
Javascript, C#
|
Browser support |
all browsers supported by RadControls for ASP .NET AJAX
|
PROJECT DESCRIPTION
The example illustrates how to update a label residing in the command item template of RadGrid purely client-side to reflect the cumulative unit price from the selected records in the table. For this purpose we intercept the
OnRowSelected and
OnRowDeselected events of the control to increment/decrement the current sum.
Additionally, the demo is designed to work with plain postbacks from outer button control (persisting the previously calculated value in the command item label). Review the implementation in the project for more info.