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

Close the edit form template in button click

1 Answer 93 Views
TreeList
This is a migrated thread and some comments may be shown as answers.
Ryan
Top achievements
Rank 1
Ryan asked on 19 Jun 2012, 01:32 PM
Hi everyone,
     I want to close the edit form template in button click from server side. How can I achieve that?
Hopes and thanks
Ryan

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 19 Jun 2012, 01:40 PM
Hi Ryan,

Try the following code snippet to achieve your scenario.

C#:
protected void Button1_Click(object sender, EventArgs e)
    {
        RadTreeList1.EditIndexes.Clear();
        RadTreeList1.Rebind();
    }

Hope this helps.

Thanks,
Princy.
Tags
TreeList
Asked by
Ryan
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or