This is a migrated thread and some comments may be shown as answers.

Kendo.ns is improperly documented / not working.

1 Answer 105 Views
MVVM
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 15 Mar 2013, 02:10 PM
Just a note for your documentation team, and a bug report.

kendo.ns 

Is documented extremely briefly in the declarative syntax section of your online docs, the gist of the docs go like this:

set kendo.ns e.g.

kendo.ns = "kendo" 

This would change your data declarations to : data-kendo-role= (etc.)

This is not correct (as per the latest code drop) setting...

kendo.ns = "kendo" 

Recognizes data attributes in the following form...

data-kendorole=

You can set kendo.ns="kendo-" and then be able to use data attributes in the form

data-kendo-role

However, even with enough data attributes recognised to get the app to start, large chunks of declarative markup simply don't work anymore. (As a very basic example, layouts don't recognise data-kendo-header / data-kendo-footer ... there's many more problems with it.)

Switching off kendo.ns and renaming data- attributes back to their non ns'ed form fixes everything.

Where is your issue tracking system, or do you guys pull bug reports in from here?

Jason.
Fishvision.

1 Answer, 1 is accepted

Sort by
0
Petyo
Telerik team
answered on 19 Mar 2013, 08:30 AM
Hello Michael,

Thank you for contacting us. We will update the documentation as soon as possible. We are also going to address the layout issue you describe in our upcoming release.

If possible, can you please share the other problems you have encountered when switching the namespace? We will try to address them right away.  

Kind regards,
Petyo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
MVVM
Asked by
Michael
Top achievements
Rank 1
Answers by
Petyo
Telerik team
Share this question
or