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

2 posts, 0 answers
  1. Scott Tremain
    Scott Tremain avatar
    4 posts
    Member since:
    Jan 2009

    Posted 23 Nov 2010 Link to this post

    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.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.

















  2. Nikolay
    Nikolay avatar
    1802 posts

    Posted 24 Nov 2010 Link to this post

    Hello Scott,

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

    the Telerik team
    Get started with RadControls for WinForms with numerous videos and detailed documentation.
  3. DevCraft R3 2016 release webinar banner
Back to Top