Window as Control not staying with in grid boundary

3 posts, 1 answers
  1. Josh Nielson
    Josh Nielson avatar
    11 posts
    Member since:
    May 2010

    Posted 20 Apr 2011 Link to this post

    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. Josh Nielson
    Josh Nielson avatar
    11 posts
    Member since:
    May 2010

    Posted 22 Apr 2011 Link to this post

    anyone?
  3. DevCraft banner
  4. Answer
    George
    Admin
    George avatar
    1332 posts

    Posted 26 Apr 2011 Link to this post

    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
Back to Top