Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 78072

add new row from client side to data source

$
0
0
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.

       
privatevoidradGridView1_Click(objectsender, 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;
       
    }

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.

privatevoid 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;}

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.

privatevoid 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;}

Viewing all articles
Browse latest Browse all 78072

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>