Hello!
Today I started to work on my first Kendo widget. After many hours trying to understand why the declarative initialization wasn't working, I realized that this works:
But this doesn't (even if the name of the widget is YouTube and the name of the option in the widget definition is templateName).
I would like to understand the reason. Probably I didn't read the documentation well enough.
Just wanted to share my experience after a whole day debugging this problem :)
Today I started to work on my first Kendo widget. After many hours trying to understand why the declarative initialization wasn't working, I realized that this works:
<div id="youtube" data-role="youtube" data-templatename="template"></div><div id="youtube" data-role="YouTube" data-templateName="template"></div>I would like to understand the reason. Probably I didn't read the documentation well enough.
Just wanted to share my experience after a whole day debugging this problem :)