Hello,
I have a custom mobile site that is using a hand-built mobile framework, but at the end of last year, we imported a kendo ScrollView into the site in order to have and improved image carousel.
This worked flawlessly, we simply called:
$(SELECTOR_HERE).kendoMobileScrollView();
This week, we attempted to update the site to the Q1 release (v2013.1.319 ) of the Kendo Framework, and found that this line has started throwing an error and no longer creates a carousel.
After importing the non-compressed version of kendo mobile, I was able to track down the following:
MobileWidget = Widget.extend({
...
...
container: function() {
var element = this.element.closest(kendo.roleSelector("view layout modalview"));
return kendo.widgetInstance(element, kendo.mobile.ui) || ContainerNullObject;
}
After running the debugger, I can see that element is undefined, so I am assuming that kendo is now assuming that I am forcing the whole site to be a mobile app... which would be a ton of work to implement on this legacy site.
Has kendo officially stopped supporting individual initialization of the mobile components unless you are running the whole page as an app? (this would be very disappointing and greatly reduce the usefulness of the product for my company)
If not, can anyone tell me if the syntax changed or something in Q1?
Thanks!
I have a custom mobile site that is using a hand-built mobile framework, but at the end of last year, we imported a kendo ScrollView into the site in order to have and improved image carousel.
This worked flawlessly, we simply called:
$(SELECTOR_HERE).kendoMobileScrollView();
This week, we attempted to update the site to the Q1 release (v2013.1.319 ) of the Kendo Framework, and found that this line has started throwing an error and no longer creates a carousel.
After importing the non-compressed version of kendo mobile, I was able to track down the following:
MobileWidget = Widget.extend({
...
...
container: function() {
var element = this.element.closest(kendo.roleSelector("view layout modalview"));
return kendo.widgetInstance(element, kendo.mobile.ui) || ContainerNullObject;
}
After running the debugger, I can see that element is undefined, so I am assuming that kendo is now assuming that I am forcing the whole site to be a mobile app... which would be a ton of work to implement on this legacy site.
Has kendo officially stopped supporting individual initialization of the mobile components unless you are running the whole page as an app? (this would be very disappointing and greatly reduce the usefulness of the product for my company)
If not, can anyone tell me if the syntax changed or something in Q1?
Thanks!