Overlay Bug: After close RadOverlayManager it changes the mdi form

2 Answers 88 Views
Form Overlay
Dennis
Top achievements
Rank 1
Dennis asked on 09 Jan 2024, 02:36 PM

Hi,

 

I use Windows Forms as MDI and open some child form.

In one of the forms, I use the RadOverlayManager for Grids to get an Loading Screen.

Before I start the loading of the RadGridView (or something other).

RadOverlayManager.Show(RadGridView1)

And after the loading of the Grid at the end of the sub.


RadOverlayManager.Close()

But after the loading, it selects another MDI Child form, that was opend "before" these form.

Any Ideas whats wrong and how to solve these problem?

(or maybe have another solution as a loading screen/symbol for loading things)

Thank you

 

2 Answers, 1 is accepted

Sort by
0
Dinko | Tech Support Engineer
Telerik team
answered on 12 Jan 2024, 09:19 AM

Hello Dennis,

Thank you for the provided details.

You could try setting the RadOverlayManager.ActivateAssociatedFormOnClose static property to false. This will disable the activation process of the associated form when the overlay is closed. This could potentially fix the reported behavior. Give it a try and let me know how it goes. If it does not help, may I ask you to isolate this in a sample project and share it with me so that I can try to find a suitable solution?

Regards,
Dinko | Tech Support Engineer
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Dennis
Top achievements
Rank 1
commented on 12 Jan 2024, 10:04 AM

Hi Dinko,

thank you for your fast reply.

This doesn't help.

But I make a sample project to show you the problem and can narrow it down a little better. The problem is, that the "Activated" sub of onother form was fired after the overlay is closed.

To check it in the sample project, create three new mdi child with the "Add" Button. And then chose the second one and hit "Loading". You got an message box, when the Activated sub fired on any form. On any form, it fires the Activated sub from another form.

In my Main-Projekt, I use these action for my MDI Forms to realize a tabbed handling.

0
Nadya | Tech Support Engineer
Telerik team
answered on 17 Jan 2024, 07:38 AM

Hello, Dennis,

I am Nadya and will be assisting you on this today.

Thank you for the provided project. I was able to run it and observe the same incorrect behavior as described. After debugging it seems that when in a mdi scenario the currently active form gets deactivated at some point and RadOverlayManager shows an incorrect form. I logged this on our feedback portal on your behalf. Here you can find the feedback item. You can subscribe to the item to receive notifications when its status has changed. However, due to the specifics of this issue, I cannot suggest a suitable solution for this case. Please excuse us for the inconvenience.

I have also updated your Telerik Points.

Please let me know if you have any other questions.

Regards,
Nadya | Tech Support Engineer
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Form Overlay
Asked by
Dennis
Top achievements
Rank 1
Answers by
Dinko | Tech Support Engineer
Telerik team
Nadya | Tech Support Engineer
Telerik team
Share this question
or