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

Window as Control not staying with in grid boundary

2 Answers 33 Views
Window
This is a migrated thread and some comments may be shown as answers.
Josh
Top achievements
Rank 1
Josh asked on 21 Apr 2011, 01:23 AM
Hello All, I have followed this documentation RadWindow to User Control
and that works great.

I call it from my view cb (using MVVM light)
like this.
private void RegisterMessages()
{
    Messenger.Default.Register<CMessages>(this, OnDisplayMessage);
    Messenger.Default.Register<IsBusyMessage>(this, OnIsBusyMessage);
}
 
private void OnDisplayMessage(CMessages msg)
{
    Modal.Alert(new DialogParameters()
    {
        Header = msg.Caption,
        Content = msg.Content,               
    });           
}

And that works well enough for now.
but when it pops the background goes black and it stays within the correct height of my page but then flows out to the right side infinitely, when my 'canvas' size is 640x500 
so two questions i know the IsRestricted should contain it, I've tried using it several different ways nothing works same with setting static widths on everything... nothing, what am I missing??

2 Answers, 1 is accepted

Sort by
0
Josh
Top achievements
Rank 1
answered on 22 Apr 2011, 05:21 PM
anyone?
0
Accepted
George
Telerik team
answered on 26 Apr 2011, 04:05 PM
Hi Josh,


This is the expected behavior when using the modal RadWindows. In this case the UI behind the RadWindow gets inactive and cannot be used until the RadWindow is closed. This is the reason why the modal background occupies all the space of the Silverlight plugin. For more information about Modal windows and predefined dialogs, please refer to our online documentation - http://www.telerik.com/help/silverlight/radwindow-features-modal-windows.html & http://www.telerik.com/help/silverlight/radwindow-features-predefined-dialogs.html

I hope this helps.


Kind 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
Tags
Window
Asked by
Josh
Top achievements
Rank 1
Answers by
Josh
Top achievements
Rank 1
George
Telerik team
Share this question
or