I have a viewmodel with an observablecollection of Kanban cards bound to my kanban control. I'm using a templateselector to decide which custom template to display in each column. When I load the observablecollection with cards in the contructor of the viewmodel, it works great. However, when I load the observable collection with cards from an async method within the viewmodel, I get the LoadTemplate error. It doesn't even get far enough to call the OnSelectTemplate method of the templateselector. When I change from using a templateselector and bind to specific template, it works.
So how can I use a templateselector and load the data after viewmodel initialization?
Attaching one of your samples where I modified to replicate the issue. Run the attachment, go to the Kanban Customization Tab, then press the Test Button Attachment: KanbanFailure_fbd43234.zip
RARachel A Syncfusion Team November 25, 2019 07:44 AM
Thanks for contacting Syncfusion Support.
We can reproduce the mentioned problem. As we are validating on it, the status will be updated on 27th November 2019.
LRLakshmi Radha Krishnan Syncfusion Team November 27, 2019 09:51 PM
We have resolved the reported issue in sample level by
setting empty item source collection at load time and set the value to that
collection in button click. We have modified the sample, please download it
from the following location.