Manual Position

2 posts, 0 answers
  1. Kashif
    Kashif avatar
    66 posts
    Member since:
    Jan 2019

    Posted 23 Sep 2019 Link to this post

    Dear Admins,

    I want to Show the Desktop alert specific position on the screen

    Like I have a Parent Form which covers the full screen. A Child form is Called from the Parent as ShowDialog.

    The requirement is to Display the Alert on the Location of Child Form (Bellow the Tittle Bar of Child Form). the width of Alert will be Equal to the Width of Form.


    How can i achieve this behavior.

  2. Dimitar
    Dimitar avatar
    2860 posts

    Posted 24 Sep 2019 Link to this post

    Hello Muhammad,

    To achieve this set the ScreenPosition and then the Location of the popup. Here is an example:

    private void RadButton1_Click(object sender, EventArgs e)
        var radDesktopAlert1 = new RadDesktopAlert();
        radDesktopAlert1.CaptionText = "New E-mail Notification";
        radDesktopAlert1.ContentText = "Hello Jack, I am writing to inform you " +
                                       "that the planning meeting scheduled for Wednesday has been postponed and" +
                                       "it will eventually be rescheduled, possibly for the next Tuesday";
        radDesktopAlert1.ScreenPosition = AlertScreenPosition.Manual;
        radDesktopAlert1.Popup.Location = new Point(300, 300);

    I hope this helps.  

    Progress Telerik

    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top