Unplanned
Last Updated: 31 Aug 2020 13:28 by ADMIN

Hi Progress Team,

 

I have encountered another issue in the RadPopupEditor control. For RadSpinEditor controls as well as for RadTextBox controls on the Popup container form, no value changed or validating/validation events are fired. For RadSpinEditor controls the ValueChanged event is fired when the spin buttons are used to change the value but when the user directly enters a value in the editor element and the control losts the focus (either by TAB or mouse click outside the control) the ValueChanged event is missing.

I have attached a small VS2017 project which illustrates the issue.

Thank you very much!

 

Regards,

 

Jürgen

Unplanned
Last Updated: 20 Sep 2024 07:36 by Sandor
Clicking outside the popupEditor does not close the associated popup container.
Completed
Last Updated: 15 Dec 2020 13:34 by ADMIN
Release R1 2021

Use case: when RadPopupEditor is opened, the focus is sent to the popup control which handles all the pressed keys. It would be added public API which provides the possibility to plug into this keyboard handling and customize the behavior.

For example, when the popup is opened, pressing Escape, closes the popup. This functionality comes from the RadPopupContainerForm.OnKeyDown which behavior can't be overridden.

Currently, only the listener can be removed for a certain popup:

    Private Sub RadPopupEditor_PopupOpened(sender As Object, e As EventArgs)       PopupManager.Default.RemovePopup(Me.RadPopupEditor1.PopupEditorElement.PopupContainerForm)
    End Sub

 

UPDATE: The API should allow handling the mouse input as well and the developer should control whether the message will be managed further.

Completed
Last Updated: 20 Jan 2020 12:06 by ADMIN
Release R1 2020 SP1 (LIB 2020_1_120)
See attached.
Completed
Last Updated: 17 Feb 2020 11:47 by ADMIN
Release R1 2020 SP1

Please refer to the attached sample project and gif file which illustrates the exact steps and obtained result.

Workaround: set the DropDownStyle property to DropDown.

NOTE: Shift+Tab should also navigate through the controls in a reversed order with enabled AutoCompleteMode.

Completed
Last Updated: 21 Jul 2020 12:19 by ADMIN
Release R3 2020 (LIB 2020.2.727)
Create a RadForm application project.
On the form place a radPopupEditor.
Place a radPopupContainer on the form.
Place a multiline radTextBox on the radPopupContainer.
Set radPopupEditor1.Visible = false in the RadForm's constructor.
When you run, the editor is not visible, but the radPopupContainer is visible.

If you skip step 5, the editor is visible and the container is not visible until you click on the editor...as it should be.

If you have a program that later makes the editor visible, when you click the editor, the container will move from it's original location to under the editor.  Clicking the editor again hides the container, and the visibility of both seem to work correctly after that point.
Completed
Last Updated: 06 Dec 2019 14:36 by ADMIN
Release R1 2020 (LIB 2019.3.1209)

By using the following code snippet, RadPopupEditor needs to indicate focus similar to RadDropDownList with the same properties applied:


            this.radPopupEditor1.DropDownStyle = RadDropDownStyle.DropDownList;
            this.radPopupEditor1.TabStop = true;
            this.radPopupEditor1.AllowShowFocusCues = true;

Unplanned
Last Updated: 22 Jan 2020 08:30 by ADMIN

When the popup is opened and you have multiple controls in it, pressing the Tab key will navigate to the next control. However, when the last control in the popup is reached, the focus stays in it instead of jumping again to the first control.

Completed
Last Updated: 02 Nov 2020 09:06 by ADMIN
Release R1 2021 (LIB 2020.3.1102)
Going through the Event Viewer I found this:

Application: TestApplication.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.IndexOutOfRangeException at Telerik.WinControls.UI.RadPopupContainerForm.OnKeyDown(System.Windows.Forms.Keys) at Telerik.WinControls.UI.PopupManager.OnKeyDown(System.Windows.Forms.Message ByRef) at Telerik.WinControls.UI.PopupManager.Telerik.WinControls.IMessageListener.PreviewMessage(System.Windows.Forms.Message ByRef) at Telerik.WinControls.RadMessageFilter.NotifyGetMessageEvent(System.Windows.Forms.Message ByRef) at Telerik.WinControls.RadMessageFilter.GetMessageHookProc(Int32, IntPtr, IntPtr)