This is a migrated thread and some comments may be shown as answers.

RadWindow.Alert on top \ owner of RadPage

8 Answers 224 Views
Window
This is a migrated thread and some comments may be shown as answers.
Rami Abughazaleh
Top achievements
Rank 1
Rami Abughazaleh asked on 16 Aug 2010, 10:37 PM
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.

8 Answers, 1 is accepted

Sort by
0
George
Telerik team
answered on 18 Aug 2010, 03:08 PM
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
0
Brian Sayatovic
Top achievements
Rank 1
answered on 03 Jun 2011, 05:00 PM
Did you ever find a solution?  I want my RadWindow to be centered upon a RadPane, but I'm not able to.
0
Miroslav Nedyalkov
Telerik team
answered on 08 Jun 2011, 07:49 AM
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
0
Ralf
Top achievements
Rank 1
answered on 29 Nov 2012, 11:09 AM
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
0
George
Telerik team
answered on 04 Dec 2012, 04:16 PM
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.

0
Ralf
Top achievements
Rank 1
answered on 05 Dec 2012, 07:14 AM
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 
0
Vladi
Telerik team
answered on 10 Dec 2012, 08:28 AM
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.

0
Ralf
Top achievements
Rank 1
answered on 10 Dec 2012, 09:14 AM
Hi,

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

Best regards,

Ralf
Tags
Window
Asked by
Rami Abughazaleh
Top achievements
Rank 1
Answers by
George
Telerik team
Brian Sayatovic
Top achievements
Rank 1
Miroslav Nedyalkov
Telerik team
Ralf
Top achievements
Rank 1
Vladi
Telerik team
Share this question
or