This question is locked. New answers and comments are not allowed.
Does the x-kendo-template need a data-source or data-bind to render in the views?
I have a view in which I am just doing a simple layout in the <script type="text/x-kendo-template"> and then eventually dynamic content will go in there later.
The issue is that the content in the x-kendo-template is not showing in my <div> when I call the template. Does the div that calls the template need a data-source or data binding tied to it?
My current code set up is like so.
myview.html
<div data-role="view" data-title="My Membership - Details" data-layout="internal" data-model="app.MyMembershipDetail" id="MemberInternalContent"> <!--Details layout per item - Eventually Dynamically created--> <div data-template="memberDetailTemplate"> </div></div><!--Kendo Template Script goes here in order to dynamically fill in the elements above.--><script type="text/x-kendo-template" id="memberDetailTemplate"> <!--Optional images--> <div id="myMembershipDetailImage"> <!--Placeholer image for Member Detail page if any.--> <img src="Images/TestDetailImage.jpg" /> </div> <div id="myMembershipDetailInfo"> <p>My Membership detail information filled out here depending on option selected</p> </div></script>