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

Close edit form server-side

1 Answer 79 Views
TreeList
This is a migrated thread and some comments may be shown as answers.
JP
Top achievements
Rank 1
JP asked on 27 Mar 2012, 08:35 AM
Hi,

I want to close the edit form (which is a template) server-side in some event handlers. How can I achieve this?

Thanks!

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 27 Mar 2012, 11:07 AM
Hello,

Try the following code snippet to close the edit form in server side.

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

Please provide more information if it doesn't helps.

Thanks,
-Shinu.
Tags
TreeList
Asked by
JP
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or