Copied to clipboard

Flag this post as spam?

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


  • Jacob 15 posts 96 karma points
    Aug 25, 2013 @ 10:21
    Jacob
    0

    Umbraco6 custom speech bubble message

    Hello. I was wondering if someone could point me to an example of how to display custom speech bubble messages in Umbraco6, for instance in the OnSave method of a custom datatype.

    Thanks.

  • Theresa Danowski 16 posts 78 karma points
    Aug 26, 2013 @ 11:18
    Theresa Danowski
    2

    Hi,

    You can try out the following:

    On top of your code behind:

    using Umbraco.Web.UI;

    And this lines where you want to use the speachbubble, for example within your Save-Methode:

    Umbraco.Web.UI.Pages.ClientTools clientTool = new Umbraco.Web.UI.Pages.ClientTools((Page)HttpContext.Current.CurrentHandler);
    clientTool.ShowSpeechBubble(SpeechBubbleIcon.Save, "I am the headlinetext", "I am the other text below.");

    Hope this is what you need.

    Greets

    Theresa

     

  • Charles Afford 1163 posts 1709 karma points
    Aug 26, 2013 @ 14:18
    Charles Afford
    0

    Thats an intresting idea :).  What are you plaiing to use it for? :).  Charlie :)

  • Keyur Shah 14 posts 44 karma points
    Oct 09, 2014 @ 14:24
    Keyur Shah
    0

    Is it possible to achieve same at application start.

    As I tried with the code of provied  by Theresa but it give error.

    or any way can display custome message on saving in backoffice.

    Thanks,

    Keyur

     

Please Sign in or register to post replies

Write your reply to:

Draft