Hi,
Have you provided any way to close window from ViewModel?
With standard ChildWIndow I've binded DialogResult property to close window.
Changing of RadWindow DialogResult doesn't cause window to close itself.
Thanks,
Alexey Zakharov.
Have you provided any way to close window from ViewModel?
With standard ChildWIndow I've binded DialogResult property to close window.
Changing of RadWindow DialogResult doesn't cause window to close itself.
Thanks,
Alexey Zakharov.
6 Answers, 1 is accepted
0
Alexey
Top achievements
Rank 2
answered on 21 Oct 2009, 11:28 AM
I've found you button attached proeprty TelerikNavigation:RadWindow.ResponseButton="Accept". May be button marked with this attached property should close radwindow?
Currently I don't understand why it is needed.
Currently I don't understand why it is needed.
0
Hello Alexey,
Best wishes,
Miroslav Nedyalkov
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
The RadWindow control dosn't provide such property that is able to close it. You could create an attached property that does the job. You could also use the WindowCommands.Close command (it causes the RadWindow control to close).
We will log your request we may add this feature, but for now it is not supported.
Best wishes,
Miroslav Nedyalkov
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Denis Vuyka
Top achievements
Rank 1
answered on 27 May 2011, 12:14 PM
What is the reason not to mimick the standard Silverlight ChildWIndow behavior in this case where dialog is closed upon DialogResult value is assigned. Your current implementaion is not intuitive for Silverlight developers and provides additional overhead during migration to Telerik suite.
Regards,
Denis
Regards,
Denis
0
Hi Denis,
Miroslav Nedyalkov
the Telerik team
This feature is in our TODO list, but it is not planned for the 2011 Q2 release. You could track its progress in PITS. The item ID is 6281.
Best wishes,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
Hai
Top achievements
Rank 1
answered on 15 Dec 2011, 11:02 PM
You mentioned that "You could create an attached property that does the job." Can you please give a example of this?
0
Hi Hai,
Miroslav Nedyalkov
the Telerik team
We don't have such an example, but you could refer to this article, which explains the suggested approach. The article is for WPF, but this approach will work in Silverlight as well.
Hope this helps.
Miroslav Nedyalkov
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>