How to open the child form with showdialogue on inside the MDI parent

1 Answer 48 Views
Form
Dev
Top achievements
Rank 1
Veteran
Dev asked on 02 Nov 2021, 05:54 AM

Hello Team,

We are using the Windows application with Telerik controls 

How to open the child form with Showdialogue on inside the MDI parent form ?, i need to open child form on Showdialogue method.


Please help with it. 

Thanks,

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 02 Nov 2021, 05:57 AM

Hello, Rick,

According to the provided information, it seems to be more like a general programming question than to a question related to the Telerik UI for WinForms suite. After some research in StackOverflow and MSDN, I have found the following threads which are quite useful on this topic:

https://stackoverflow.com/questions/41068714/how-allows-showdialog-mdi-children-on-mdi-form-parent 

https://social.msdn.microsoft.com/Forums/windows/en-US/b58e65a4-a88b-4106-bb6b-89478771e81d/call-an-childform-in-mdiparent-form-using-showdialog?forum=winforms 

I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Regards,
Dess | Tech Support Engineer, Principal
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Dev
Top achievements
Rank 1
Veteran
commented on 02 Nov 2021, 03:26 PM | edited

Hello Dess,

Thanks for your timely reply.

I have already tried these links, but getting the error, please find the shared screenshot. also please share if any sample project for opening child form in showdialog method on MDI parent form. 

ScreenShot

Thanks

Dess | Tech Support Engineer, Principal
Telerik team
commented on 03 Nov 2021, 11:06 AM

Rick, it seems that you are missing AddHandler for the events subscription which is necessary for VB.NET. Please refer to the following thread in StackOverflow demonstrating how to subscribe to events in VB:

https://stackoverflow.com/questions/7220438/subscribing-events-in-vb-net 

We don't have such sample projects as this scenario is not specific for the Telerik UI for WinForms suite but it is a general programming question regarding the entire WinForms MDI handling. I believe that the previously suggested threads may be suitable for achieving your goal.

Tags
Form
Asked by
Dev
Top achievements
Rank 1
Veteran
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or