Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Ali Sheikh Taheri 470 posts 1647 karma points c-trib
    Feb 10, 2014 @ 14:32
    Ali Sheikh Taheri
    0

    after save event

    Hi Sune,

    To be honest with you, thanks for this great package. it is really powerful.

    what I would like to do is with "AfterSave" event to change the Speech Bubble text, is it possible?

    If not if how can I show any sort of feedback to user?

    Many Thanks

    Ali

  • Ali Sheikh Taheri 470 posts 1647 karma points c-trib
    Feb 11, 2014 @ 20:56
    Ali Sheikh Taheri
    101

    Answer to my question.

    I had to hook into BeforeSave event.

    and if I cancel the actual event the message can be passed as well but not via speech bubble.

    here is a sample code for future reference.

     public static void BeforeSave(object sender, BeforeSaveEventArgs e)
     {
      e.Result = new SaveResult { ErrorMessage = "My error message.", Success = false };
      e.Cancel = true;
     }
    
  • Sune Bøegh 64 posts 374 karma points
    Feb 16, 2014 @ 22:44
    Sune Bøegh
    1

    @Ali Exellent solutions to both questions you had :)

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies