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

Ending row addition

1 Answer 61 Views
GridView
This is a migrated thread and some comments may be shown as answers.
N
Top achievements
Rank 1
N asked on 09 Feb 2008, 02:56 PM
Hi

I am using a RadGridView with an empty dataset, in which the user will enter a few rows of data.

Behaviour
The user clicks on "Add new row...", enters values in some of the columns and clicks on other controls on the form.  The new row is in a pending state, unless the user tabs out of it.

Behaviour
How can I programmatically "accept" the new row in the radgridview so that it gets added to the dataset?

1 Answer, 1 is accepted

Sort by
0
Julian Benkov
Telerik team
answered on 11 Feb 2008, 03:13 PM
Hi N P,

Thank you for writing.

1) In the new version of RadGridView we have changed the new row behavior to match the Microsoft DataGridView behavior.

2) If RadGridView is bound to a DataTable object, you can use its TableNewRow event. When RadGridView is bound to a BindingSource object, you can handle its ListChanged event.

The current version of RadGridView does not include RowAdding/Added events, but for new version we will include more events for row manipulation.

The new beta release of the improved RadGridView will be available very soon. Thank you for the feedback.

Regards,
Julian Benkov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
GridView
Asked by
N
Top achievements
Rank 1
Answers by
Julian Benkov
Telerik team
Share this question
or