Close the edit form template in button click

2 posts, 0 answers
  1. Ryan
    Ryan avatar
    56 posts
    Member since:
    Apr 2012

    Posted 19 Jun 2012 Link to this post

    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
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 19 Jun 2012 Link to this post

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