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

Radgrid Delete Formview Edited Row

1 Answer 40 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Rick Rehorst
Top achievements
Rank 1
Rick Rehorst asked on 11 Nov 2009, 10:45 PM

I am working on a project where I use the RadGrid in listview / datalist layout (with te panels). Just like in de live demo.
Because I like this layout I am persuing to keep it but it seems not the most convenient one sometimes :-)

I found a way to edit. The difficult part was to make it look nicde and have the editform always diplayed nice
I found that this was only possible by making the edited record temporarily the only record in the grid

I need also to delete (selected) rows / records.

The easiest way would be to be able to do something with a rightclick on the panel / record
The color is changing when the mouse is over the panel so there must be some event possible to pick up.

An other idea would be to put the record / row in Edit mode and place a delete button on the edit template.
The thing is that a simple commandname="delete" button does not seem to work and gives an error.
So I'm looking to do this through an ordinairy button_click event.
I have the row / record that needs to be delete selected and in edit mode.
I was looking for something like Radgrid1.selecteditems.delete()

Any suggestons?

1 Answer, 1 is accepted

Sort by
0
arnaud
Top achievements
Rank 1
answered on 12 Nov 2009, 12:28 AM
Hi,

I'm not quite sure about what you want to acheive but are you aware of the new listview Telerik control ?

http://demos.telerik.com/aspnet-ajax/listview/examples/overview/defaultcs.aspx

Regards,
Arnaud Boiselle



Tags
Grid
Asked by
Rick Rehorst
Top achievements
Rank 1
Answers by
arnaud
Top achievements
Rank 1
Share this question
or