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

Close edit form

1 Answer 49 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Tina
Top achievements
Rank 1
Tina asked on 22 Jun 2012, 08:46 AM
How to close grid edit form template in external button click from server side

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 22 Jun 2012, 08:55 AM
Hi Tina,

Try the following code snippet to achieve your scenario.

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

Hope this helps.

Thanks,
Princy.
Tags
General Discussions
Asked by
Tina
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or