Anj
Posts: 13
|
Posted: 01/15/2018, 4:29 AM |
|
I would like to implment a dynamic org chart using AJAX and I am struggling with where to start with implementing it in CodeCharge.
This is the details of what I'm trying to achieve. https://www.aspsnippets.com/Articles/Create-Organizatio...-in-ASPNet.aspx
I have generated a grid view of the data I wont to appear in the orgchart.
<mt:MTDataSource ID="qryOrgChartDataSource" ConnectionString="InMotion:Connection1" SelectCommandType="Table" CountCommandType="Table" runat="server">
<SelectCommand>
SELECT TOP {SqlParam_endRecord} *
FROM qryOrgChart {SQL_Where} {SQL_OrderBy}
</SelectCommand>
<CountCommand>
SELECT COUNT(*)
FROM qryOrgChart
</CountCommand>
<SelectParameters>
<mt:WhereParameter Name="SesCOID" SourceType="Session" Source="COID" DataType="Integer" Operation="And" Condition="Equal" SourceColumn="COID"/>
</SelectParameters>
</mt:MTDataSource><br>
Need to get this completed ASAP any help much appreciated.
|
|
|
|