I am new to using the telerik tools for winforms and I was wondering if anyone could help me to find the best way so that the client can add a new row on the radgrid and for it to show this change on the data source.
so far I have the radgrid set up so that the client can add a new row. I just need to bind it to the data source.
so far I have the radgrid set up so that the client can add a new row. I just need to bind it to the data source.
private
void
radGridView1_Click(
object
sender, EventArgs e)
{
this
.radGridView1.AllowEditRow =
false
;
this
.radGridView1.AllowAddNewRow =
true
;
this
.radGridView1.AllowDeleteRow =
false
;
this
.radGridView1.AddNewRowPosition = Telerik.WinControls.UI.SystemRowPosition.Top;
this
.radGridView1.MasterTemplate.AddNewBoundRowBeforeEdit =
true
;
radGridView1.EnableAlternatingRowColor =
true
;
}