Anyone know if Kendo UI has known problems working in MSCRM Online version 9.0.2? Any word from Telerik about a fix/update? Thanks!!
Our custom MSCRM solution is working fine with MSCRM Online version 8.2.x, but not working with version 9.0.x. Testing appears to indicate problems with loss of Global context items and likely related to ClientGlobalContext.js.aspx.
I noticed a post about what sounds similar (link below).
Web Resource in Dynamics 365—Kendo UI destroyed by jQuery loaded by ClientGlobalContext.js.aspx
CRM 9.0.x introduces (and recommends) new ways of retrieving the FormContext. A lot of the old methods including Xrm.Page are being deprecated.
Here's the list of deprecated methods on MSDN
Instead of Xrm.Page you have to pass the execution context in when you configure your form scripts: Here's the MSDN article
There is a JavaScript analyser in the XRM Toolbox that can be used to identify scripts that contain deprecated code
Related
In this post:
Web Resource in Dynamics 365—Kendo UI destroyed by jQuery loaded by ClientGlobalContext.js.aspx
it is stated:
In version 9.0.2.54 of Dynamics 365 online, I found that the newer version of ClientGlobalContext.js.aspx loads its own version of jQuery without checking to see if one is already present.
How can I determine if the newer version of ClientGlobalContext.js.aspx loads its own version of jQuery without checking to see if one is already present?
I believe I may have same issue as in the linked question, but I'm unsure how I could diagnose that I'm in fact facing the same problems.
I suppose a simple way to do that would;
Debugging the page (e.g. F12) and seeing which jQuery files are loaded.
If you know which version of jQuery you expect to be loaded, then you can compare that to which version is actually loaded by calling alert(jQuery.fn.jquery) in your code.
alert(jQuery.fn.jquery)
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
Disclaimer: I have zero experience with Telerik products, but see Kendo UI as something that's definitely interesting to work with. I have worked with Angular2 and other component-based frameworks before.
I recently received an existing code base that makes use of Kendo UI for jQuery (specifically the 2016 Q1 SP1 version), and got tasked with migrating to a component-based design. Search results gave me Kendo UI for Angular2, which seems like an excellent choice. An interesting thing to note for me, is that it's still a release candidate -- it has been released less than a month ago, as of time of writing, but according to the text on the web page it's production-ready.
At first glance they seem partially compatible (as in same components, and similar APIs), and I have some ideas on how to migrate, but would appreciate input of others (that are more experienced with the previous and current Kendo UI types) on this matter.
Some ideas I have:
Run both versions simultaneously, and migrate entire pages. This way they won't interfere with each other, and anything encountered that can be turned into a component or service can be converted.
Put the entire thing into a Angular2 application, and use both Kendo UI for jQuery and Kendo UI for Angular2 on the same pages until everything is migrated. I'm uncertain whether there will be any conflicts here, but I think this is possible with proper encapsulation.
I'm definitely interested in other views regarding this, as more experienced people have probably already solved this issue.
I'm learning Parse (the Javascript flavor) using their Todo App tutorial. I'm trying to write my first query. In the tutorial, I found this code:
var TodoList = Parse.Collection.extend({ ... });
I can't find any info about Parse.Collection in their JS Guide nor their API docs.
Can someone shed some light on what a Parse.Collection is and when I should use it?
You're not seeing anything in the docs because Parse.Collection was removed from the JavaScript SDK in v.1.6.0.
Downloads Page and JavaScript Changelog
SDK no longer contains Backbone-specific behavior. Moving forward, the core SDK will not be tied to any single framework, but we will work with the community to produce up-to-date bindings like Parse+React. The major changes are the removal of Parse.Collection, and allowing Parse.Objects to act as event channels.
In previous versions of the SDK, Parse.Collection was used almost identically to Backbone.Collection, as the Parse SDK was based on Backbone. Things are particularly confusing right now because tutorials on parse.com use pre-1.6.0 versions of the SDK.
I am trying to reproduce an issue with an incompatibility between Kendo UI's DataSourceResponse class and ServiceStack.Text Json Serializer. I can only locate the source code for the client side Javascript.
Does anyone know if Kendo UI's C# source code for ASP.NET MVC is available?
I supposed I could reflect it, but I wouldn't be able to share any of the code in an issue report.
This is covered under the Kendo license agreement: https://www.kendoui.com/purchase/license-agreement/kendo-ui-complete-mvc.aspx
1.3 Source Code. The Software’s source code is provided to You so that you can create modifications under the terms of this Agreement.
1.3.3 You acknowledge that the Software’s source code is confidential and contains valuable and proprietary trade secrets of Telerik. Except as provided for in Section 2.2 of this Agreement, under no circumstances may any portion of the Software’s source code or any modified version of the source code be distributed, disclosed or otherwise made available to any third party.
However, if you're filing a ticket with Telerik directly then they're a first-party, so you should share anything and everything you discover with them.
I created a new ASP.NET 4.5 WebForms project and found a bunch of extra javascript files pertaining to GridView, DetailsView and other data related components as well as MSAjax. I assume they are to help with AJAX on data components, but I don't know how to use them.
I read almost every ASP.net announcement and haven't heard anything about these files and searched Google and didn't find anything either.
Those files belong to the Microsoft Ajax Library,it's a collection of tools similar to jQuery. MSDN describes it like this :
"Microsoft Ajax features enable you to quickly create Web pages that provide a rich user experience and that include responsive and familiar user interface (UI) elements. Microsoft Ajax includes client-script libraries that incorporate cross-browser ECMAScript (JavaScript) and dynamic HTML (DHTML) technologies. By using Microsoft Ajax, you can improve the user experience and the efficiency of your Web applications."
You can see the reference here : Microsoft Ajax