We’re working on our technical debt and moved the Syncfusion upgrade into our sprint. Time to get this done since it was long overdue. Turned out this was easy with a little aftermath.
Since we only used the ejGrid in this part of the system we we’re done in just 4 steps:
1
Upgrade nugets
We updated all nugets to the latest versions. This was v20.3.0.56 for Syncfusion.Asp.Mvc5 and v3.6.1 for jQuery
2
Insert license in global.asax
As described on their page we needed to add our license string to the global.asax.cs file. If not added you’ll get a red banner.
3
Add js files to bundle
The old version javascript file were forgiving when omitting some. Now we needed to add jsrender.min.js and ej.tooltip.min.js.
4
Breaking changes
We noticed two breaking changes. One manifested build time: EditingType.Dropdown became DropdownEdit. The other was found during testing: toolbar icon customisation changed – we removed the icon and are using text now
The toolbar icons were a bit of a struggle. Right after the upgrade the icons were displayed twice and the text was not visible. To get things going we replaced the icon + text by text-only and moved on to demo this to our product owner.