I am trying to add another success message after arecord is inserted so am doing something as seen in examples of help menu like
public void Row_Inserted(Dictionary<string, object> rsold, Dictionary<string, object> rsnew) {
SuccessMessage = "Record Inserted";
}
BUT after generating all scripts when i try to compile the project in visual studio but the "SuccessMessage" is not in the scope anymore.
NOTE: CancelMessage still exists in this context, but i cant find WarningMessage,FailureMessage,SuccessMessage in this context BUT I can still access all these when am in events like page_load
ANOTHER QUESTION:
How would I set any of these messages during Row_Inserted event such that adding my message ie SuccessMessage does not overide existing success message, eg writing the following code
public void Row_Inserted(Dictionary<string, object> rsold, Dictionary<string, object> rsnew) {
SuccessMessage = "Record Inserted");
}
I want after it return to the list page two success mesage are shown, one for deafult addsuccess message, another is my "Record Inserted" message. Basically wat fucntion can i call to add a new meesage to the stack something like AddSuccessMessage, AddWarningMessage etc.