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

Appending rows to Telerik Rad Grid

2 Answers 48 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jay
Top achievements
Rank 1
Jay asked on 08 Aug 2012, 07:18 PM
Hi,

How do I programmatically append new records to the rad grid without using add new record  option of rad grid?

I have to perform new record insertion when user clicks on a button outside grid.

Is this feature supported in rad grid?

Thanks,
Jay

2 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 09 Aug 2012, 03:22 AM
Hi Jay,

I guess you want to opening insertform from from external control event.Please take a look into the following code snippet.

C#:
protected void Button1_Click(object sender, EventArgs e)
{
    RadGrid1.MasterTableView.IsItemInserted = true;
    RadGrid1.MasterTableView.Rebind();
}

Thanks,
Shinu.
0
Jay
Top achievements
Rank 1
answered on 17 Sep 2012, 08:34 PM
Thanks Shinu!
Tags
Grid
Asked by
Jay
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Jay
Top achievements
Rank 1
Share this question
or