Radwindow Minimize Issue

2 posts, 0 answers
  1. Anzar
    Anzar avatar
    62 posts
    Member since:
    Sep 2012

    Posted 08 Jan 2013 Link to this post



    When the minimize button is clicked, the title bar is getting visible on the top of the active window...Is there any solution to hide title bar?
    (See attachment).
  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3602 posts

    Posted 09 Jan 2013 Link to this post

    Hi Anzar,

    This is the expected behavior - the minimized RadWIndow is still the active one - this is the last one the user interacted with, so it is shown on top. If you want another to become active you can do so in its OnCLientCommand event, e.g:
    function OnClientCommand(sender, args)
    {
        if (args.get_commandName() == "Minimize")
        {
            $find("RadWindow1").setActive(true);
        }
    }

    where $find("RadWindow1") is getting ar eference to the desired RadWindow. You can replace that with the one from your case or with a simple loop that goes through all windows in the manager;s collection and activates the first one that is already visible and is not the one we just minimized.

    I can also suggest using the approach from this demo to create an MDI-ilke interface.

    Yet another alternative is using the MinimizeZoneID so it is minimized somewhere else on the page. Note that this is legacy functionality and may cause some issues in complex cases.

    Regards,
    Marin Bratanov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top