Is there a way to perform only an update to a database table (no insert or delete) when listbox item is transferred from a souce radlistbox to a destination listbox. Please supply some code in VB if possible.
Thank you
1 Answer, 1 is accepted
0
Bozhidar
Telerik team
answered on 01 May 2012, 08:06 AM
Hi Ingrid,
The action which is performed on the database when you transfer an item is determined by the InsertCommand that you've set on the destination listbox's datasource (and DeleteCommand on the first one, if the transfer mode is set to move). So if you want to do an update, all you have to do is set an update query to these commands. Here's a small example:
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.