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

How do you use this thing?

2 Answers 27 Views
Window
This is a migrated thread and some comments may be shown as answers.
Daniel Billingsley
Top achievements
Rank 1
Daniel Billingsley asked on 15 Apr 2010, 02:16 AM
The information for this control has to be the most confusing thing I've read in the Telerik documentation.  One part says "Good practice is not to declare RadWindow in XAML as it is not logical to be part of the visual tree." then there's a bunch of examples doing just that.  The attached project in the thread below, which the poster claims is to show using inheritance, does nothing of the sort but rather shows the RadWindow declared within the xaml of the parent control.  Popup windows are often reused throughout the application (almost by definition, you might say), so this approach seems to be rather bad practice.

http://www.telerik.com/community/forums/silverlight/window/adding-contents-to-radwindow.aspx


Part of the problem for me might be that I'm coming from using the Microsoft ChildWindow, which is very simple and straightforward.  They have a code template for it, and when you add it to the project you get a control that inherits from ChildWindow, as in really truly inherits.

Maybe the easiest thing is to just keep using that.  What is the advantage of RadWindow over ChildWindow?  What am I missing about how RadWindow is supposed to be used?

2 Answers, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 16 Apr 2010, 05:49 PM
Hello Daniel,

Thank you for your interest in our products.

We are sorry to hear that you are experiencing difficulties with our control. However, we agree that the documentation and the examples might be confusing. We will do our best to improve them as soon as possible.
Attached you will find a sample project in which is illustrated how you can use a RadWindow as 
the ChildWindow in Silverlight Toolkit.

If you have any other questions about our controls please feel free to contact us again.

Kind regards,
Konstantina
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
Daniel Billingsley
Top achievements
Rank 1
answered on 19 Apr 2010, 08:22 PM
OK, thanks.  That was a bit incomplete for showing much, but I get the idea and think I can use it like I want.

Thanks again.
Tags
Window
Asked by
Daniel Billingsley
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Daniel Billingsley
Top achievements
Rank 1
Share this question
or