mvc error DtResponse does not contain a definition for PostEdit
mvc error DtResponse does not contain a definition for PostEdit

Having an issue when trying to use PostEdit event with mvc controller
DtResponse response = new Editor(db, "TableName", "tblid")
.Field(new Field("blah"))
. Process(formData).Data();
response.PostEdit += (sender, e) => UpdateOtherThing(e.Values);
mvc throws this error "DtResponse does not contain a definition for PostEdit"
What am I missing?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
It doesn't - it exists on the
Editor
object. You need to rearrange that code a little:See the examples here.
Allan