RadControls version
|
RadControls for ASP.NET AJAX 2010.1.415 and later
|
.NET version |
NET 2.0 and later
|
Visual Studio version |
2005 and later
|
programming language |
C#/VB
|
browser support |
all browsers supported by RadControls
|
PROJECT DESCRIPTION
The following project demonstrates how to switch a row in edit mode by double-clicking an arbitrary RadListView item and how to update this row when the user clicks another row in the RadListView.
The example takes advantage of the
editItem() client side function, to put the RadListView 's item in edit mode when the corresponding row is double clicked:
Once the control is in edit mode, the user can enter data in the edit fields, and then after clicking another row, a user-friendly confirm dialog is displayed to prompt whether the update operation should be performed or not. This is achieved with the following code snippet:
The value in
editRowIndex variable is set in the code behind in the
RadListView.PreRender event handler:
NOTE: To convert the code snippet above to Visual Basic, please use our online C# to VB.Net converter tool here:
http://converter.telerik.com/