Ext.NET
Ext.NET copied to clipboard
syntax: ext-dataview's Tpl inner property does not accept <Html> block.
An ext-dataview component won't accept Ext.NET 5's usual syntax for the data view's element template.
The overall structure should be around:
<ext-dataview>
<tpl>
<html>
template_code_here
</html>
</tpl>
</ext-dataview>
Reproduced at: dataview/basic/overview/index.cshtml#L81-L91
Note: in the repro linked above, there is another tplblock defined, as it was required for the rendered page not to trigger client-side javascript errors. Yet, it is unknown the expected syntax to provide the value, if any currently supported.
This (or very similar issue) was raised in Ext.NET Forums' thread ComboBox with Templates and AJAX. We should check that up as soon as we get this one fixed as it will probably provide better means to handle templates.