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

Set focus on main page

1 Answer 55 Views
Window
This is a migrated thread and some comments may be shown as answers.
Matthew
Top achievements
Rank 1
Matthew asked on 08 May 2012, 05:15 AM
I have a RadWindow that is not modal, however when I click on the parent page of the RadWindow, the RadWindow will not hide. How do I change focus and send the RadWindow behind its parent page?

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 08 May 2012, 08:56 AM
Hi Matthew,

One suggestion is that you can minimize the RadWindow on clicking the parent page.

JS:
<script type="text/javascript">
    $(document).click(function (e)
    {
        var window = $find("<%=RadWindow1.ClientID %>");
        window.Minimize();
        window.MoveTo(0, 750);
    });
</script>

Thanks,
Princy.
Tags
Window
Asked by
Matthew
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or