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

[Solved] Issue in Insert mode without Edit mode

1 Answer 141 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
adeel zahid
Top achievements
Rank 1
adeel zahid asked on 06 May 2011, 01:53 PM
HI
I have grid with ajax editing enabled. In my scenario i have to use only the insert mode so I disabled the edit mode. but when I run i get the javascript error on click of "Add New Record". I have attached the project as a reference

Regards

1 Answer, 1 is accepted

Sort by
0
Tim
Top achievements
Rank 1
answered on 26 Oct 2011, 05:42 AM
I have the exact same problem: Javascript error - 'm is not defined'.

I want to have 'Add new record' button but not 'Edit', and I want to have a popup dialog in which to enter the information. Currently I have this working by specifying the GridEditMode, but when I remove the Edit command from the Grid, there is a javascript error and the page stops rendering the rest of the popup dialog box.

Cheers
Tim
Tags
Grid
Asked by
adeel zahid
Top achievements
Rank 1
Answers by
Tim
Top achievements
Rank 1
Share this question
or