Close edit form server-side

2 posts, 0 answers
  1. JP
    JP avatar
    120 posts
    Member since:
    Aug 2011

    Posted 27 Mar 2012 Link to this post

    Hi,

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

    Thanks!
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 27 Mar 2012 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top