Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 84751

Treeview not working with Guid.ToString() as ID/ParentID

$
0
0

I was able to get the treelist working by setting my DataSource as follows:

.DataSource(d => d
            .ServerOperation(true)
            .Model(m =>
            {
                m.Id(f => f.Id);
                m.OrderId(f => f.OrderId);
                m.ParentId(f => f.ParentId);
            })
            .Read(read => read
                .Action("ReadTasks", "MyGanttController")
            )
        )

Will try using Guid.ToString() again as this is working for ints.


Viewing all articles
Browse latest Browse all 84751

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>