2013 Releases
This article lists the breaking changes in the Kendo UI 2013 releases.
Kendo UI 2013 Q3
Core
The kendo.support.pointers
now only shows support for Internet Explorer (IE) 11 pointer events—kendo.support.msPointers
was added to indicate that IE10 pointer events are supported too.
Splitter
The internal
trigger("resize")
method, which has been provided as a workaround in certain scenarios, no longer works. It is now replaced with theresize()
public API method, which is now available in all Kendo UI widgets. For more information, refer tokendo.resize()
.The
layoutChange
event is now obsolete and will be removed in the future. Use theresize
event instead.
Kendo UI Scheduler for ASP.NET MVC
The "ISchedulerEvent"
interface now includes two additional fields—StartTimezone
and EndTimezone
which store the timezone information of the event.
Scheduler
Changes in the recurrenceEditor
messages:
-
daily.days
becomesdaily.interval
. -
weekly.weeks
becomesweekly.interval
. -
monthly.months
becomesmonthly.interval
. -
yearly.years
becomesyearly.interval
. -
end.endLabel
becomesend.label
. -
end.endNever
becomesend.never
. -
end.endCountAfter
becomesend.after
. -
end.endCountOccurrence
becomesend.occurrence
. -
end.endUntilOn
becomesend.on
.
MVC DataSource
The MVC DataSource transport now serializes numbers based on the used Kendo UI culture. As a result, if you are using an invariant culture number model binder, the numbers will not be parsed correctly. You should either use the same culture to parse the numbers in the model binder or remove the model binder in order for numbers with a decimal separator to be parsed correctly.
ModalView
The ModalView now supports auto-sizing when its content changes and when no height is set. Unfortunately, we were able to implement this at the expense of the possibility to set the ModalView size in a CSS stylesheet. As a workaround, use the ModalView width
and height
options or set them through inline CSS instead.
Kendo UI 2013 Q2
Themes
The icons in the sprite image have been rearranged to include more icons in two different sizes.
Editor
-
The default tool set now includes the newly introduced table editing. Toolbar tools are now grouped, so their dimensions have been increased by 2px. On the other hand, the "Font name" and "Font size" tools no longer appear by default. The idea is to encourage developers (and users respectively) to use the formatting dropdown, which provides a predefined (and customizable) set of options. This will ultimately lead to better structured, formatted and consistent rich text documents, compared to the case when the user has the ability to apply arbitrary font styles.
To revert to the old tool set, use the following configuration:
$("#editor").kendoEditor({ tools: [ "bold", "italic", "underline", "strikethrough", "fontName", "fontSize", "foreColor", "backColor", "justifyLeft", "justifyCenter", "justifyRight", "justifyFull", "insertUnorderedList", "insertOrderedList", "indent", "outdent", "formatBlock", "createLink", "unlink", "insertImage" ] });
Initializing the editor from a
div
element triggers the inline editing mode. To revert to the old behavior, initialize it from a<textarea>
element.
Mobile ListView
The enabling of the endless scrolling or the press-to-load-more configuration options now puts the ListView in a virtual mode, which has different behavior than the one demonstrated in the Kendo UI Q1 2013 and previous releases.
The
endlessScrollParameters
andloadMoreParameters
configuration options are not available anymore. Endless scrolling uses on the dataSource paging configuration to issue subsequent requests.The
scrollTreshold
option is not available anymore. The ListView automatically pre-fetches the next page when 2/3 of the current page is reached.The
stopEndlessScrolling
andstopLoadMore
methods are no longer available. The ListView automatically hides the button and the loading indicator when the loaded items reach the number returned by theschema.total
method of the bound DataSource.The
lastPageReached
event is no longer triggered because of the same reasons.
Deprecated Functionality
Editor
The formatBlock and style tools have been deprecated in favor of the unified formatting tool. The new tool supports the functionality of both old tools as well as new styling options. If you need to keep the styles and block formats in different drop-downs, you can use two formatting tools in parallel. The old tool declarations work, yielding a console.warn
about the deprecation, and will be removed with a future official release.
$("#editor").kendoEditor({
tools: [
{ name: "style", items: [
// applies class "foo"
{ text: "foo", value: "foo" }
] },
{ name: "formatBlock", items: [
// changes wrapping block to paragraph
{ text: "paragraph", value: "p" }
] }
]
});
$("#editor").kendoEditor({
tools: [
{ name: "formatting", items: [
// applies class "foo"
{ text: "foo", value: ".foo" },
// changes wrapping block to paragraph
{ text: "paragraph", value: "p" },
// changes wrapping block to paragraph with class "fine-print"
{ text: "fine print", value: "p.fine-print" }
] }
]
});
Kendo UI 2013 Q1
jQuery
jQuery is updated to 1.9.1.
Mobile
Renamed the scrollTreshold
option of the ListView to scrollThreshold
.
AutoComplete/ComboBox/DropDownList
Renamed the enable
option to enabled
.
TreeView/HierarchicalDataSource/Node
The children
field is initialized depending on the hasChildren
field, as previously documented. Tto initialize it, use the append
and load
methods, and if accessing the children field directly, verify if it is present.
ASP.NET MVC
Some ASP.NET MVC applications may be broken if using other libraries incompatible with jQuery 1.9.1. For more details, refer to the troubleshooting guide