Telerik Forums
Kendo UI for jQuery Forum
6 answers
370 views
Hi,

I use a Kendo File upload function in my project, which supports a finite set of languages.
The text on the button was getting set according to the culture we were supporting till recent.

Recently we added Italian to our portal.
What we notice is that the text on the button remains in English as "Select files ..."

<script src="@Url.Content("http://cdn.kendostatic.com/2013.3.1324/js/cultures/kendo.culture." + culture + ".min.js")"></script>
<script>
    kendo.culture("@culture");
</script>
 
@Html.Kendo().Upload().Name("attachments").Events(events => events.Select("OnUploadSelect"))

How can I get around this issue ?

Also, I notice the same problem in grids where the text in the bottom is like "1-15 of 100 items", instead of the Italian equivalent. Is it a common issue or should I raise another discussion thread under the grids' category ?

Thanks &
Regards

Achilles

Romain
Top achievements
Rank 1
Iron
Iron
 answered on 30 Nov 2021
1 answer
465 views

Hi,

I am new with Telerik framework,  I have an MVC project and I need to create a  web page for creating Sales Invoice 

The Invoice page has some information as Customer Code, name, Invoice Date... and a grid with some Information as Item Code, Name, quantity, price...

there is a button as Save

I need an example of how I can send the Invoice information to the Save action and how the Telerik framework can make it easier 

thanks

Martin
Telerik team
 answered on 30 Nov 2021
0 answers
480 views

the follow code not working...

 

var tabStrip = $("#TsMain").kendoTabStrip().data("kendoTabStrip");
tabStrip.select(1);

 

var tabStrip = $("#"+controlName).kendoTabStrip().data("kendoTabStrip");
var selectId = tabStrip.select()[0].id;

 

 

Vincent
Top achievements
Rank 1
Iron
 asked on 27 Nov 2021
0 answers
634 views

Hi all,

I have this problem:

We would like to change the date format of the chart series tooltip. The desired format is dd/mm/yyyy. The culture of the site is english. In attached you find the example of the tooltip that we would like to change in the format.

Can someone help me on this issue?

Thank you a lot,

Claudio

Claudio
Top achievements
Rank 1
Iron
Iron
 asked on 26 Nov 2021
13 answers
523 views
Hey Kendo,

Im using kendo stock chart to plot some stuff and it works great, when date is 30 points with 30 dates. Which looks something like :
Date: 01/01/2012
Point: 5
.... and so on

But what about if my date is a DateTime for example :

Date: 01/01/2012 00:10:00
Point: 5

Date: 01/01/2012 00:55;00
Point: 11

and so on


Is that not supported in stock charts ? Because by the looks of it I cant get it going 

Regards,
Neil
Deepesh
Top achievements
Rank 1
Iron
 answered on 26 Nov 2021
1 answer
108 views

 

Hi. I want to show a basic grid and I could bring json data but I can't show my data on the page.

My sample data set is here.

{
  "elapsedTime" : 0,
  "status" : "OK",
  "errors" : [ ],
  "message" : "",
  "timestamp" : "2021-11-24 09:50:29",
  "bodyType" : "ARRAY",
  "body" : [ {
    "id" : 88,
    "bloodSugar" : "86"
 
  }, {
    "id" : 89,
    "bloodSugar" : "86"
 
  } ]

}

 

My JS code is here.

$(document).ready(function(){

        $("#grid").kendoGrid({
            dataSource: {
                transport: {
                    read: {
                        url: "my json call url",
                    }
                },
                schema: {
                    model: {
                        fields: {
                            id: {type: "string" },
                            bloodSugar: {type: "string"}
                        }
                    }
                },
                pageSize: 0,
                serverPaging: true,
                selectable: true,
                serverSorting: true
            },
            height: 550,
            sortable: true,
            filterable: true,
            pageable: true,
            columns:  [
                {field: "id", title: "id"},
                {field: "bloodSugar", title: "bloodSugar"}
            ]
        });
    });

I could see the json data at my chrome network console but I can't see the data at html view.

I want to know what is the problem...

please help me. Thank you.

Neli
Telerik team
 answered on 26 Nov 2021
1 answer
179 views

Hello,

I would like to know if I can add a dropdown list for some cells that users can select instead of plain text.

For example, consider the below demo

https://demos.telerik.com/kendo-ui/spreadsheet/datasource

 

Can we have some fixed dropdown values to UnitPrice and Discontinued columns to the same example?

 

Thanks

Neli
Telerik team
 answered on 26 Nov 2021
1 answer
148 views

Hi,

Not a question but more of a comment/bug report:

I use Kendo for Jquery, version kendoui.for.jquery.2021.3.1109. There seems to be a typo in the message file for en-GB. It says:

...options.messages=e.extend(!0,kendo.dataviz.ui.Map.prototype.optionss.messages,{tileTitle:"Map title"}))}(window.kendo.jQuery)

where it should say:

...options.messages=e.extend(!0,kendo.dataviz.ui.Map.prototype.options.messages,{tileTitle:"Map title"}))}(window.kendo.jQuery)

This prevented kendo from working in my localised application. The other languages I use (nl-NL and de-DE) do not contain this typo.

Regards,

Henk

Neli
Telerik team
 answered on 24 Nov 2021
2 answers
221 views

Like subject says - I build in a rangeslider. Now I want it drawn to "scale" => width: 780px ... but every attempt so far has failed 

I tried style= in the <div  it self, then I found you api description , so I build the exact same code from the api-description in my document.ready() function .. only to be greeted with the subject line "rs.resize() is not a function ...

As the remaining Kendo ui stuff is working and also the rangeslider does "everything else" .. conforms to the properties I set in the definition ... 
I'm at the moment without any clue what could lead to the described error message

 

Every help is welcome

my js-code for that matter 
$(document).ready(function () {
$("#rangeslider").kendoRangeSlider({ change: rangeSliderOnChange, slide: rangeSliderOnSlide, min: 0, max: 780, smallStep: 1, largeStep: 10, tickPlacement: "both", }); var rs = $("#rangeslider").getKendoRangeSlider(); rs.wrapper.css("width", "780px"); rs.resize();
});

Sven
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 24 Nov 2021
1 answer
302 views

Hi,
I have an observable array of observables which is linked to a kendo grid as datainput. I am trying to sort it by clicking on column header. I have made the sortable : true. But the issue is when the array is 

self.array = ko.observableArray([{ Cabin: 'eco' }, { Cabin: 'taper' }]); The sorting works

But If the array is 
self.AllocArray = ko.observableArray([{ Cabin: ko.observable('eco') }, { Cabin: ko.observable('taper') }]); then the sorting doesn't work.

Is there any possible solution around this?

Many thanks,

Jason

Veselin Tsvetanov
Telerik team
 answered on 23 Nov 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?