Unplanned
Last Updated: 30 Oct 2019 08:41 by ADMIN
Kasim
Created on: 30 Sep 2019 09:17
Category: Window
Type: Feature Request
1
RadWindow Bug Maximize Minimize icon

Bug 1:

When RadWindow behavior is set to Maximize/Minimize only, the expected behavior is while minimized, it must only show Maximize button and when maximized, it should show minimize button. 

Currently, it is showing restore button on minimizing and then it restores to a random size.

Bug 2:

Page reloads on maximizing the minimized page.

  1. If the page requires authentication, the user has to login again.
  2. If the user is on some of the internal pages on a portal, the user is redirected to the login page without referer URL.
5 comments
ADMIN
Rumen
Posted on: 30 Oct 2019 08:41

Thanks to your valuable feedback, I've updated the status of the feedback item to Approved.

The implementation and the decision whether and when will it be implemented depends on the popularity of this item. If more users vote for it, we'll raise its priority in the backlog.

 

Best Regards,
Rumen
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Kasim
Posted on: 29 Oct 2019 03:22

Hi Rumen,

Thanks for the workaround.

I can understand the developer who developed it 10 years ago might have missed something very important. It can be corrected as and when we grow.

We are developing the toolset for end-users who are mostly using MS windows. Hence, end-users will be more comfortable seeing RadWindow behave the same

I would be happier to have the bug fixed in the control itself then to write javascript to get it fixed.

ADMIN
Rumen
Posted on: 28 Oct 2019 14:37

Hi Kasim,

Thank you for the update!

The UX/UI of RadWindow is designed more than 10 years ago and the designers have chosen to show only the restore button when the component is minimized or maximized regardless of the Behaviors settings. This is because RadWindow does not mimic the MS Windows Dialog which work and directly interacts with the taskbar. We do have such an example RadWindow and MDI.

If you'd like to have the maximize button, when the control is minimized and vice versa you can use the OnClientCommand event, check for the enabled behaviors with the get__behaviors() method and set the desired behaviors with the set_behaviors() method.

The set_behaviors() method sets the Behaviors property of the RadWindow . Its argument must be a value or combination of values from the Telerik.Web.UI.WindowBehaviors enum. To set more than one behavior, use "+". Possible values are: None , Resize , Minimize , Close , Pin , Maximize , Move , Reload , Default . For example: oWnd.set_behaviors(Telerik.Web.UI.WindowBehaviors.Move + Telerik.Web.UI.WindowBehaviors.Close).

You can find more details at https://docs.telerik.com/devtools/aspnet-ajax/controls/window/client-side-programming/radwindow-object#methods-that-check-a-condition-or-invoke-a-certain-behavior

 

Regards,
Rumen
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Kasim
Posted on: 08 Oct 2019 03:03

Hi Rumen,

I differ on your comment #1. For any window user minimizes; the user expects a button to Maximize. Here the restore button is optional. The user is frustrated when she does not see the maximize button.

In current RadWindow implementation, to maximize RadWindow from the minimized state, the user needs to follow steps as below:

  1. Restore the window by clicking on the restore button (as maximize button is missing)
  2. Now in restore state the maximize button appears, the user clicks on the maximize button to maximize the window.

Also, when the restore button is clicked on, the expectation is it should restore to the size specified, however, it restores to a random size which is a clear bug.

The second scenario is when a portal page with form-based authentication is opened in the Radwindow, it prompts for login each time user minimize and maximize the window.

ADMIN
Rumen
Posted on: 07 Oct 2019 09:09

Hi Kasim,

Straight to the points:

  1. The reported behavior while minimized to have a restore button and while maximized to have restore button is by design and if we change it this will be a mass regression in the User Experience of the control.

    RadWindow has very flexible client-side API and you can implement your scenario with the use of the following methods:

        var oWnd = $find("<%= DialogWindow.ClientID %>");
        oWnd.minimize();
        oWnd.maximize();
        oWnd.restore();

    I also tried to reproduce the issue with the random size but without success. Can you please modify the attached project so that it starts to showcase the problem and send it back for examination?

  2. Can you please shed more light on this problem? Do you use RadWindow with ContentTemplate or NavigateURL (the last one uses iframe). Can you please provide a live URL to the problematic page or a runnable example so that we can test this?

 

Regards,
Rumen
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.