Keeping a radGrid autoinsert popup open

3 posts, 1 answers
  1. Brandon
    Brandon avatar
    16 posts
    Member since:
    May 2009

    Posted 12 Jul 2010 Link to this post

    Does anyone have any idea how to keep a radGrid's auto-insert popup (radWindow) open after the insert linkbutton is clicked?

    I'm pretty sure I have to $find a reference to the radWindow, but I thought there must be a better way. I know that I could simply use templates for the edit forms, but that is a waste of development time.

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

    Posted 13 Jul 2010 Link to this post

    Hello,

    Adding the following code in ItemInserted event will help you to remain the insertform opened, even after clicking "Insert" button.

    C#:
    protected void RadGrid1_ItemInserted(object source, GridInsertedEventArgs e)
        {
            e.KeepInInsertMode = true;
        }


    -Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Brandon
    Brandon avatar
    16 posts
    Member since:
    May 2009

    Posted 13 Jul 2010 Link to this post

    Well...I feel like a twit. Thanks for the assist, Shinu. :o)
Back to Top