Telerik RadGrid Hierarchical - Child table not displaying

Trying to follow along an article to create a hierarchical grid using Telerik RadGrid.

I found when I run my page the detail table does not show. I don't get any errors though. Anyone know why?

Here is the relevant code I believe:
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
            <telerik:AjaxSetting AjaxControlID="RadGridMyParent">
                    <telerik:AjaxUpdatedControl ControlID="RadGridMyParent" />

    <telerik:RadGrid ID="RadGridMyParent" runat="server" CellSpacing="0"
        DataSourceID="SQLDataSourceParent" GridLines="None" Skin="Metro"> <MasterTableView AllowPaging="True" AutoGenerateColumns="False" DataKeyNames="SampleNo"
        <telerik:GridTableView runat="server" DataKeyNames="SampleNo"


    <asp:SqlDataSource ID="SQLDataSourceParent" runat="server"
        ConnectionString="<%$ ConnectionStrings:XConnectionString %>"
        SelectCommand="SELECT * FROM [MyParent] ORDER BY [Autonumber]">

    <asp:SqlDataSource ID="SqlDataSourceAnalysis" runat="server"
        ConnectionString="<%$ ConnectionStrings:XConnectionString %>"
        SelectCommand="SELECT * FROM [MySub] WHERE ([SampleNo] = @SampleNo)">
            <asp:Parameter Name="SampleNo" Type="String" />

Open in new window

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mathew_sAuthor Commented:
Got it to work. Missed the part to put in the keynames in the parent-table relation box.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.