04 Aug 2007
16 Nov 2011
Link to this post
I have a custom module implemented via a UserControl that uses a RadGrid. I would like to implement deleting from the grid using a checkbox (clientselect) or even a delete linkbutton on each item. However, none of the ItemCommands seem to be firing as this is a UserControl added to the backend pages. How can I either use clientside events or postbacks to implement the record deleting?
I have added the GridClientDeleteColumn and can get the client event to fire, but I don't know how to be able to access PageMethods or any Ajax call that could manipulate the data. I would prefer NOT to implement a web service, but will if that is the only way. However, before doing that, I would use a postback if that possibility exists. I realize that I could utilize the view that displays a specific record for edit, but I would much rather give the user a way to delete multiple items in a single view if that is possible.