예제 #1
0
 protected void ValidateSiteMode(FileManagerActionEventArgsBase e)
 {
     e.Cancel    = true;
     e.ErrorText = "Data modifications are not allowed in the example.";
 }
예제 #2
0
 void ValidateSiteEdit(FileManagerActionEventArgsBase e)
 {
     // comment out this line to enable editing
     e.Cancel    = true;
     e.ErrorText = "Data modifications are not allowed in the example.";
 }
예제 #3
0
파일: Save.aspx.cs 프로젝트: ramyothman/RBM
 protected void ValidateSiteEdit(FileManagerActionEventArgsBase e)
 {
     //e.Cancel = DevExpress.Web.Demos.Utils.IsSiteMode;
     //e.ErrorText = DevExpress.Web.Demos.Utils.GetReadOnlyMessageText();
 }
 static void OnFileSelectorAction(object source, FileManagerActionEventArgsBase e)
 {
     e.Cancel    = IsSiteMode;
     e.ErrorText = GetReadOnlyMessageText();
 }