HierarGrid - I need to add the child datagrid

Who understands how to implement the Hierargrid by Denis Bauer ?

I downloaded and studied the demos and am reading the "How to article" :
at http://aspalliance.com/articleViewer.aspx?aId=21&pId=#Page1

What I need to do is quite simple. However the documentation seems over complicated.

My parent table is Services.  For each service, there are multiple providers. The article uses stored procedures. I have substituted SQL Statements in the code behind. The article says to drop a child datagrid into a template. I have done that. It does not explain how to reference the child datagrid in the parent aspx page. The main grid is working.  

Here is what I have:

<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
      <dbwc:HierarGrid id="grdServices"
      style="Z-INDEX: 101; LEFT: 80px; POSITION: absolute; TOP: 24px"
      runat="server"
      Width="432px" AutoGenerateColumns="False"
      DataKeyField="ServiceID"
      DataSource="<%# DstServices1 %>"
      TemplateCachingBase="Tablename"
      LoadControlMode="UserControl"
      TemplateDataMode="Table">
      <SELECTEDITEMSTYLE BackColor="#008A8C" ForeColor="White" Font-Bold="True">
      </SELECTEDITEMSTYLE>
      <AlternatingItemStyle BackColor="#FFFFC0"></AlternatingItemStyle>
      <ITEMSTYLE BackColor="#EEEEEE" ForeColor="Black"></ITEMSTYLE>
      <FooterStyle Font-Bold="True" ForeColor="White"  BackColor="#B50055"></FooterStyle>
      <ItemStyle VerticalAlign="Top" BackColor="#FFF7E7"></ItemStyle>
      <HeaderStyle Font-Bold="True" ForeColor="White" BackColor="#B50055"></HeaderStyle>
                <Columns>
               <asp:BoundColumn DataField="ServiceID" HeaderText="Service ID"></asp:BoundColumn>
               <asp:BoundColumn DataField="ServiceName" SortExpression="ServiceName"
                                   HeaderText="Service Name">
                        </asp:BoundColumn>
            </Columns>
      </dbwc:HierarGrid>&nbsp;
</form>
Where do I insert the Template Collumn ? The Plus and Minus images are not displaying. I see no code that detects firing of the Plus and Minus buttons.

Thanks,

Dovberman
      
DovbermanAsked:
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.

SystemExpertCommented:
hi ,

See this link ,
In this sample they have give functionality that you want

http://www.societopia.net/samples/HierGrid.aspx


Thanks
0

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
DovbermanAuthor Commented:
The example is impressive. However the src files needed to complete the solution are missing.

<%@ Register TagPrefix="Societopia" tagName="ChildGrid" src="DataGrid_Hierarchy_Child.ascx" %>
<%@ Page Language="C#" AutoEventWireup="false" src="DataGrid_Hierarchy.aspx.cs" Inherits="Societopia.Samples.DataGrid_Hierarchy"%>
<%@ Register TagPrefix="Societopia" tagName="PageHeader" src="PageHeader.ascx" %>
<%@ Import namespace="System.Data" %>

Thanks anyway.

Dovberman
0
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
ASP.NET

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.