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

Problem with RadGrid Rebind

2 Answers 95 Views
Grid
This is a migrated thread and some comments may be shown as answers.
anuj
Top achievements
Rank 1
anuj asked on 09 Nov 2012, 11:36 AM
Hi
I am making one demo in that i am performing add and update in Rad Grid(InPlace) from outside of button click.
everything works fine. when i am adding a new record insertion is happening successfully but Rad Grid is not closing the addition
form(InPlace).
i am also rebind the RadGrid but that not work's for me.
Please help me on this.

2 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 12 Nov 2012, 04:37 AM
Hi,

Try the following code to close the insert form in external button click.
C#:
protected void insert_Click(object sender, EventArgs e)
{
    RadGrid1.MasterTableView.IsItemInserted = false;
    RadGrid1.MasterTableView.Rebind();
}

Thanks,
Shinu.
0
anuj
Top achievements
Rank 1
answered on 12 Nov 2012, 05:58 AM
Thanks shinu
It works fine.
Tags
Grid
Asked by
anuj
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
anuj
Top achievements
Rank 1
Share this question
or