RadWindow.Alert on top \ owner of RadPage

9 posts, 0 answers
  1. Rami Abughazaleh
    Rami Abughazaleh avatar
    27 posts
    Member since:
    Feb 2010

    Posted 16 Aug 2010 Link to this post

    Hi.

    Using RadControls_for_Silverlight_4_2010_2_0812

    Is there a way to make RadWindow.Alert on top \ owner of RadPage?

    I have read in the forums that DialogParameters.Owner must be RadWindow or Window, but what if I have a RadPage?

    Thank you.
  2. George
    Admin
    George avatar
    1332 posts

    Posted 18 Aug 2010 Link to this post

    Hi Rami Abughazaleh,

    Setting Owner property to object of type RadPage is not supported scenario.

    The Owner property specifies the control, that owns the RadWindow. When having the CenterOwner enumeration value, the RadWindow will get centered relatively to its owner. Please note that the Owner property should be of type RadWindow. For more information you could refer to our online documentation: http://www.telerik.com/help/silverlight/radwindow-features-positioning.html

    When you call RadWindow.Alert it goes on top, because it is a modal window.

    I hope this information helps. I will be glad to assist you further.

    Regards,
    George
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
  4. Brian Sayatovic
    Brian Sayatovic avatar
    91 posts
    Member since:
    Nov 2009

    Posted 03 Jun 2011 Link to this post

    Did you ever find a solution?  I want my RadWindow to be centered upon a RadPane, but I'm not able to.
  5. Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 08 Jun 2011 Link to this post

    Hello Brian,

     As centering in arbitrary controls is not supported I would suggest you to use the Left and Top properties of the RadWindow control and center it manually over the pane. To find the position of the Pane you may use the TransformToVisual method of the RadPaneGroup that owns the pane. To find the size of the pane you may use the ActualWidth and ActualHeight of the the same group.

    Hope this helps.

    Regards,
    Miroslav Nedyalkov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  6. Ralf
    Ralf avatar
    77 posts
    Member since:
    Jun 2012

    Posted 29 Nov 2012 Link to this post

    Hi,

    if the owner must be a RadWindow, what should to to if the host is not a RadWindow? For example the host is an Outlook pane?

    Regards,

    Ralf
  7. George
    Admin
    George avatar
    1332 posts

    Posted 04 Dec 2012 Link to this post

    Hi Ralf,


    Can you give us some more information about the Outlook pane? If it's not a RadWindow, it cannot be set as an owner of the control. In this case you need to handle the behavior with a custom code. Can you explain what is the given scenario? This could shed some light on the problem.

     

    Regards,
    George
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  8. Ralf
    Ralf avatar
    77 posts
    Member since:
    Jun 2012

    Posted 05 Dec 2012 Link to this post

    Hi George,

    our project is an addon for Outlook. The functionality will be placed in a custom panel (see an example here).  
    The container control then is the Outlook panel container. In this panel we are put our main user control. This control should be the owner.
    There is no RadWindow available as owner.
    The addon will be designed with the Metro theme (Outlook 2013).

    It would be perfect if the RadWindow can use a user control as owner. But how?

    I think it doen't metter what type the owner is of. If it is a RadWindow, the logic can messure the coordinates and size. But if the owner is a user control it can be messure the coordinates and size also?

    Best regards,
    Ralf 
  9. Vladi
    Admin
    Vladi avatar
    744 posts

    Posted 10 Dec 2012 Link to this post

    Hello Rami,

    We will research the possible approaches on achieving the described scenario and we will let you know when we have more information on the case.

    Kind regards,
    Vladi
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  10. Ralf
    Ralf avatar
    77 posts
    Member since:
    Jun 2012

    Posted 10 Dec 2012 Link to this post

    Hi,

    thank you. I will look forward to have a solution maybe in the next release of Telerik controls.

    Best regards,

    Ralf
Back to Top
DevCraft banner