This is a migrated thread and some comments may be shown as answers.

So Blind I cannot see. Just need to update controls on a MDI child residing in a dock window

1 Answer 53 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Scott Tremain
Top achievements
Rank 1
Scott Tremain asked on 23 Nov 2010, 09:40 PM
Ok guys I now this is probably right in front of my nose but i will be darned if I can find it.

The situation

I create the following

 

 

 

Me.RadDock1.LoadFromXml("MIMSLAyout.xml")
Me.IsMdiContainer = True
Me.RadDock1.AutoDetectMdiChildren = True

Private Sub RadDock1_DockWindowAdded(ByVal sender As Object, ByVal e As Telerik.WinControls.UI.Docking.DockWindowEventArgs) Handles RadDock1.DockWindowAdded 

    Select Case e.DockWindow.Name
    Dim MemberToolbar As New MembersToolWindow
    MemberToolbar.Text ="Members" 
    MemberToolbar.MdiParent = Me 
    DirectCast(e.DockWindow, HostWindow).LoadContent(MemberToolbar)

    Dim CompanyInfoDocument As New CompanyInfo 
    CompanyInfoDocument.Text ="Company"
    CompanyInfoDocument.MdiParent =Me 
    DirectCast(e.DockWindow, HostWindow).LoadContent(CompanyInfoDocument)
End Sub

Memberstoolwindow form contains a pageview and hosts a radlistcontrol which is loaded from a datatable.
CompanyInfo form has several label and textbox controls.

What I need to happen is when I fire a SelectedIndexChanged event from the radlistcontrol is to re-populate the controls on Companyinfo and refresh the form that is visible in the CompanyInfoDocument.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1 Answer, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 24 Nov 2010, 05:01 PM
Hello Scott,

Please find the answer to your question in the support ticket that you have opened about the same topic.

Regards,
Nikolay
the Telerik team
Get started with RadControls for WinForms with numerous videos and detailed documentation.
Tags
Dock
Asked by
Scott Tremain
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Share this question
or