
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.
8 Answers, 1 is accepted
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.
George
the Telerik team

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.
Miroslav Nedyalkov
the Telerik team

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
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.

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
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.

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