I am using a Kendo Treelist in my MVC view:
<tr>
<td colspan="7" style="border-style: solid; border-width: 1px; border-top: none;">
<%: Html.Kendo().TreeList<CustomResult>()
.Name("treelist")
.Columns(columns =>
{
columns.Add().Field(e => e.Text).Title("Results").TemplateId("result-template");
})
.DataSource(dataSource => dataSource
.Read(read => read.Action("LoadResults", "Home").Data("additionalInfo"))
.ServerOperation(false)
.Model(m => {
m.Id(f => f.RootId);
m.ParentId(f => f.ReportsTo);
m.Field(f => f.Text);
m.Field(f => f.ReportsTo);
})
)
.HtmlAttributes(new { style = "height: 430px;width:100%" })
.Height(430)
%>
</td>
</tr>
The treelist is expandable with parent and root nodes while running in local.
But at times,in the server deployed version,only the parent node is getting displayed and not expandable.
Any clue on the probable reason for the issue?