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

Keep Insert Mode

1 Answer 117 Views
DataForm
This is a migrated thread and some comments may be shown as answers.
Jinzi
Top achievements
Rank 1
Jinzi asked on 13 May 2016, 08:32 PM

I'm using the dataform integration with radGrid sample introduced in the demo.

Is it possible to keep insert mode on the page after submit a new record? the user wants to be able to submit multiple records instead of insert one when first come to the page ( I set dataform.isItemInserted == true on PreRender) and then go back to select one in radgrid to get the insert button.

 

1 Answer, 1 is accepted

Sort by
0
Jinzi
Top achievements
Rank 1
answered on 16 May 2016, 06:58 PM

I figured out how to keep inserting new records:

In submit button onclick event:

rdForm.InsertItem.FireCommandEvent("PerformInsert", "");

rdForm.IsItemInserted = true;

rdForm.Rebind();

Tags
DataForm
Asked by
Jinzi
Top achievements
Rank 1
Answers by
Jinzi
Top achievements
Rank 1
Share this question
or