Telerik Forums
Kendo UI for jQuery Forum
0 answers
154 views
I've been attempting to implement the Kendo UI (for jQuery) map control. Tiles are not rendered from either OpenStreetMap or VirtualEarth (the Bing option). I've tried both. First with my own logic, and then by copying and pasting your own example code (https://demos.telerik.com/aspnet-mvc/map/bubble-layer?_ga=2.88536155.1774956126.1621871162-136915403.1611250038) into my page. If I use developer tools, I can see that the .png tiles are indeed downloaded, but they aren't rendered in the browser. I've attached a screencap of your page example rendered and what the same code renders locally.

I came across this post (https://feedback.telerik.com/winforms/1448367-radmap-openstreetmap-provider-does-not-follow-the-latest-openstreetmap-tile-usage-policy-requiring-useragent-header) and though it pertains to WinForms and WPF, thought it likely that the issue in the Kendo UI library maybe related.

I've tried both http and https as well as localhost environment and a public web server to no avail. The version I'm running is 2020.2.513. I lean towards thinking it's something that's been corrected but not in the version we're running.

I'd appreciate any insight you can offer or ideas!
Charlie
Top achievements
Rank 1
 asked on 27 May 2021
1 answer
213 views

Please see my sample code here: https://dojo.telerik.com/@bjoler/AKUMUroY

I don't want a verticle scrollbar in the grid, so I set the 'scrollable=false' on the grid.

But that seems to affect the footerTemplate that I want to merge some of the cells.

Is there a way to solve this?

Neli
Telerik team
 answered on 27 May 2021
1 answer
111 views

Hi,

I have a combbox where the choices are driven by a remote datasource as follows:

main.php
-----------------------
<script>
var dataSource = new kendo.data.DataSource({
    transport: {
        read: {
            url: "select_data3.php?type=123",
            dataType: "json"
        }
    }
});

$("#event_id").kendoComboBox({
    dataTextField: "Text",
    dataValueField: "Value",
    filter: "contains",
    dataSource: dataSource,
    placeholder: "Select a product",
});
</script>

<select id="event_id" style="width: 450px;">
</select>

 

select_data3.php
-----------------
<?php header('Content-Type: application/json');?>
[{"Text":"AUT","Value":"Austria"}, {"Text":"BEL","Value":"Belgium"}, {"Text":"BGR","Value":"Bulgaria"}]


It's unable to load remote data into combobox


And i had tried to
1. copy http://dojo.telerik.com/IzAWU to my localhost
2. download //demos.telerik.com/kendo-ui/service/Products to local folder
3. It's good for execute step1 directly
4. Show nothing, when i modify params to "//localhost/test/Products" and "json"


Neli
Telerik team
 answered on 27 May 2021
1 answer
943 views
How can I limit the number of files to upload with the Kendo UI Upload widget?  
Martin
Telerik team
 answered on 27 May 2021
1 answer
544 views

When using the filemanager's upload button to upload the files, everything works correctly. The files uploaded show on the list and I can see when the file upload is complete.

But if I drag and drop the files into a folder, the files are also uploaded, but I don't see the list of files, if these are large files, I can not tell when the transfer is complete.

How can I make the  filemanager display the show the list of files uploaded when a drag and drop happens?

 

Neli
Telerik team
 answered on 27 May 2021
4 answers
108 views

Following the starting instructions (Running the API and Sample Apps) installed the npm packages. 

In the course at the 2:57 mark, it shows 2 vulnerabilities, 1 medium and 1 high.  When I ran the install it showed 7 vulnerabilities (1 low, 2 moderate, 4 high). Ran the audit (audit.txt in attached .zip file) and then ran npm audit fix --force. (see npmauditfix.png in attached .zip file)

When I tried to start the app, got an error.  (see npmstarterr.png in attached .zip file)

I got around things by deleting the folder and reinstalling so not a high level issue.

 

I'm not familiar with node and all the components so somewhat concerned about the vulnerabilities. 

Should the course files be updated? 

Nencho
Telerik team
 answered on 27 May 2021
1 answer
106 views

Hi,

I have a task with long name and after exporting it to pdf, name is shown partially.

I tried to change width of the column before exporting and reset it after it:

let columns = $("#gantt").getKendoGantt().options.columns; columns[3].width = 1500; $("#gantt").getKendoGantt().setOptions({columns: columns}); outerThis.gantt.saveAsPDF();

but it broke my gantt chart, because I have other methods in databound and databinding which resets after setOptions.

 

I also tried to change height of my rows, but it broke dependencies like shown in Screenshot(120).

 

How can I solve this problem? Is there any way to change only the width of the column without changing other things?


Thanks 

Ianko
Telerik team
 answered on 27 May 2021
1 answer
103 views

Hi,

I have a Gantt with a big data (3 years) and after exporting to pdf it is cropped. Is there any limitation and how can I solve this problem??

 

Thanks

Veselin Tsvetanov
Telerik team
 answered on 27 May 2021
1 answer
1.3K+ views

We have two grids in our site that have a custom command button declared similarly to this:

columns.Command(cmd => cmd.Custom("Unaudit").Click("unaudit")).Width(60);

unaudit is a javascript function.  Works ok but inside unaudit we have to jump through hoops to get the data we want, the id of the record in that grid row.


        var id = this.dataItem($(e.currentTarget).closest("tr")).ID;

Is there a way to access the data object and pass just a field to the javascript function?
example (not working)

columns.Command(cmd => cmd.Custom("Unaudit").Click("unaudit(data.ID)")).Width(60);

Help is appreciated.  Thanks.  Note that if i am required to use a client template column instead, i do know how to do that but was hoping i wouldn't have to do that.

 

Anton Mironov
Telerik team
 answered on 26 May 2021
5 answers
264 views

Hello,

I'm running into a problem when trying to use the same dataSource in two different grids on my SPA page.

The following construction in used in the different grids:

{
field: "_company_id",
title: "Bedrijf",
editor: companyComboBox,
dataSource: dataSourceCompany,
dataTextField: "name",
dataValueField: "id"
}

When I leave out the dataSource at one grid, both grids show up, but one grid only shows the _company_id value.

When I use the same code in both grids the second grid will not show, also no errors show up.

Please advice, I've added more info below, more info added.

Neli
Telerik team
 answered on 26 May 2021
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?