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

Kendo MVC Editor issue in chrome

2 Answers 299 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
Jayakrishnan asked on 21 Mar 2018, 03:50 PM

Dear Team,

I am using the following js 2017.3.1026/kendo.all.min.js( I have used latest also but result was same) for Kendo. In our application I am using kendo ui editor. In the Same Page i am using the FileBrowser and Kendo Editor

The issue is below. The site is hosted in  https and the issue with only chrome (assumption is the issue is related with iframe). 

1)  In FileBrowser - When click on the When I click on the Insert File icon I am getting the below error in javascript

Cannot use 'in' operator to search for 'getSelection' in undefined
    at Object.selectionFromWindow (kendo.all.min.js:65371)
    at Object.selectionFromDocument (kendo.all.min.js:65381)
    at init.getSelection (kendo.all.min.js:63676)
    at init.getRange (kendo.all.min.js:63686)
    at init.exec (kendo.all.min.js:63723)
    at init._executeToolCommand (kendo.all.min.js:71614)
    at HTMLAnchorElement.<anonymous> (kendo.all.min.js:71602)
    at HTMLUListElement.dispatch (jquery-1.10.2.js:5109)
    at HTMLUListElement.elemData.handle (jquery-1.10.2.js:4780)

Please find the code

                                                    .Tools(tools => tools.Clear().InsertFile())
                                                    .HtmlAttributes(new { style = "height:auto", id = "txtTest" })
                                                     .Events(events => events
                                                    .FileBrowser(fileBrowser => fileBrowser
                                                    .File(Request.Url.GetLeftPart(UriPartial.Authority) + "/New/Test/{0}")
                                                         .Read("Read", "EmbargoFileBrowser", "Protected")
                                                         .Create("Create", "EmbargoFileBrowser", "Protected")
                                                         .Destroy("Destroy", "EmbargoFileBrowser", "Protected")
                                                         .Upload("Upload", "EmbargoFileBrowser", "Protected")




2)  Kendo Editor - I have given some by default values but it is showing when its load. I am not getting any error. Please find the code


 @(Html.Kendo().EditorFor(model => model.HtmlTest)
                                        .HtmlAttributes(new { @class = "form-control", id = "txtMultile", style = "width: 100%;height:600px" })
                                        .Tools(tools => tools
                                        .ImageBrowser(imageBrowser => imageBrowser
                                        .Image(Request.Url.GetLeftPart(UriPartial.Authority) + "/New/Test/{0}")
                                                 .Read("Read", "EmbargoImageBrowser", "Protected")
                                                 .Create("Create", "EmbargoImageBrowser", "Protected")
                                                 .Upload("Upload", "EmbargoImageBrowser", "Protected")
                                                 .Thumbnail("Thumbnail", "EmbargoImageBrowser", "Protected"))

                                        <h4><span style="font-family:Calibri;"><span style="background:yellow;">test data</span></h4>



Kindly request you to help as soon as possible




2 Answers, 1 is accepted

Sort by
Top achievements
Rank 1
answered on 22 Mar 2018, 07:20 AM

Dear Team,


I have the above issue in staging its working fine in dev environment, Its very urgent. Kindly request to respond. 

My assumption is both issue is with chrome iframe with the https security.


Thanks & Regards,



Telerik team
answered on 23 Mar 2018, 11:42 AM
Hello Rijoy,

I tested the described behavior, but I was unable to locally experience any issues with the described behavior. You can also check out the demo site, where SSL is enabled and both cases work fine.

Can you provide a simple project where this is reproducible so that I can examine it better? 

Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Asked by
Top achievements
Rank 1
Answers by
Top achievements
Rank 1
Telerik team
Share this question