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

Keeping a radGrid autoinsert popup open

2 Answers 58 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Brandon
Top achievements
Rank 2
Brandon asked on 12 Jul 2010, 03:42 PM
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 Answers, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 13 Jul 2010, 06:51 AM
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.
0
Brandon
Top achievements
Rank 2
answered on 13 Jul 2010, 06:35 PM
Well...I feel like a twit. Thanks for the assist, Shinu. :o)
Tags
Grid
Asked by
Brandon
Top achievements
Rank 2
Answers by
Shinu
Top achievements
Rank 2
Brandon
Top achievements
Rank 2
Share this question
or