[CLOSED] [#598] UI on Notification ?

  1. #1

    [CLOSED] [#598] UI on Notification ?

    Good Morning all

    Can I use the UI Feature also on a Notification Pop-Up ?

    Peter
    Last edited by Daniil; Nov 19, 2014 at 9:48 AM. Reason: [CLOSED] [#598]
  2. #2
    Hi Peter,

    A Notification is a Window, so, this appears to be working.
    Ext.net.Notification.show({
        msg: "Some message",
        ui: "info"
    })
    The UI styles should be registered.
    ResourceManager.RegisterUI();
  3. #3
    I got this Code but can't find the UI ?

          Notification.Show(new NotificationConfig
          {
            Title = notifyTitle,
            AlignCfg = new NotificationAlignConfig
            {
              ElementAnchor = AnchorPoint.BottomRight,
              TargetAnchor = AnchorPoint.BottomRight,
              OffsetX = 40,
              OffsetY = -40
            },
            ShowFx = new SlideIn { Anchor = AnchorPoint.BottomRight, Options = new FxConfig { Easing = Easing.BounceOut } },
            HideFx = new Ghost { Anchor = AnchorPoint.BottomRight },
            Html = bodyHtml,
          });
  4. #4
    Yes, we probably need to add the UI property for the NotificationConfig class.

    For now, please use a CustomConfig.
    new NotificationConfig
    {
        CustomConfig =
        {
            new ConfigItem("ui", "info")
        }
    }
  5. #5
    Created an Issue.
    https://github.com/extnet/Ext.NET/issues/598

    Done in the SVN trunk revision #6168. It will go to the v2.5.4 release and the next release of v3.

    Thank you for pointing out the problem!
  6. #6
    Thank you for the Idea :-)

Similar Threads

  1. [CLOSED] Ext Notification
    By snow_cap in forum 2.x Legacy Premium Help
    Replies: 10
    Last Post: Jul 12, 2014, 9:10 AM
  2. Problem with Notification Box
    By alawibh in forum 2.x Help
    Replies: 1
    Last Post: May 08, 2013, 10:08 AM
  3. [CLOSED] Ext.net.Notification
    By supera in forum 2.x Legacy Premium Help
    Replies: 4
    Last Post: Mar 20, 2013, 12:27 PM
  4. Ext:notification
    By vali1993 in forum 1.x Help
    Replies: 0
    Last Post: Mar 16, 2010, 10:40 AM
  5. Ext. Notification
    By sharif in forum 1.x Help
    Replies: 2
    Last Post: Jun 19, 2009, 11:33 AM

Posting Permissions