Telerik Forums
Kendo UI for jQuery Forum
1 answer
235 views
Hello,
There is a problem regarding encoding in the pdf when mvc charts are exported. Does exist any solution to show none ASCII chars in the pdf? I've tried to set some fonts but it's not working unfortunately.
eg. 
    kendo.pdf.defineFont({
        "Open Sans": "/fonts/OpenSans-Regular.ttf",
        "Open Sans|Bold": "/fonts/OpenSans-Bold.ttf",
        "Open Sans|Bold|Italic": "/fonts/OpenSans-BoldItalic.ttf",
        "Open Sans|Italic": "/fonts/OpenSans-Italic.ttf"
    });

or 
/* Pdf font */
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/OpenSans-Regular.ttf") format("truetype");
}

P.S. Export from Grid looks good (after I've added @font-face style).
Please see attached files.

Thanks a lot,
Hello,
There is a problem regarding encoding in the pdf when mvc charts are exported. Does exist any solution to show none ASCII chars in the pdf? I've tried to set some fonts but it's not working unfortunately.
eg. 
    kendo.pdf.defineFont({
        "Open Sans": "/fonts/OpenSans-Regular.ttf",
        "Open Sans|Bold": "/fonts/OpenSans-Bold.ttf",
        "Open Sans|Bold|Italic": "/fonts/OpenSans-BoldItalic.ttf",
        "Open Sans|Italic": "/fonts/OpenSans-Italic.ttf"
    });
 
or 
/* Pdf font */
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/OpenSans-Regular.ttf") format("truetype");
}
 
P.S. Export from Grid looks good (after I've added @font-face style).
Please see attached files.
 
Thanks a lot,
Hello,
There is a problem regarding encoding in the pdf when mvc charts are exported. Does exist any solution to show none ASCII chars in the pdf? I've tried to set some fonts but it's not working unfortunately.
eg. 
    kendo.pdf.defineFont({
        "Open Sans": "/fonts/OpenSans-Regular.ttf",
        "Open Sans|Bold": "/fonts/OpenSans-Bold.ttf",
        "Open Sans|Bold|Italic": "/fonts/OpenSans-BoldItalic.ttf",
        "Open Sans|Italic": "/fonts/OpenSans-Italic.ttf"
    });
 
or 
/* Pdf font */
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/OpenSans-Regular.ttf") format("truetype");
}
 
P.S. Export from Grid looks good (after I've added @font-face style).
Please see attached files.
 
Thanks a lot,
Hello,
There is a problem regarding encoding in the pdf when mvc charts are exported. Does exist any solution to show none ASCII chars in the pdf? I've tried to set some fonts but it's not working unfortunately.
eg. 
    kendo.pdf.defineFont({
        "Open Sans": "/fonts/OpenSans-Regular.ttf",
        "Open Sans|Bold": "/fonts/OpenSans-Bold.ttf",
        "Open Sans|Bold|Italic": "/fonts/OpenSans-BoldItalic.ttf",
        "Open Sans|Italic": "/fonts/OpenSans-Italic.ttf"
    });
 
or 
/* Pdf font */
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/OpenSans-Regular.ttf") format("truetype");
}
 
P.S. Export from Grid looks good (after I've added @font-face style).
Please see attached files.
 
Thanks a lot,
Milena
Telerik team
 answered on 19 Jan 2016
1 answer
73 views

Im working on an existing project that was referencing kendo mvc and associated scripts etc version 2013.3.1324 and have since upgraded to 2015.3.1111

There a number of grids that use a datasource loaded via Ajax.  The datasource is populated similar to this:

MyDatasourceVar.data(data)

Where the data variable is that returned from the ajax request.

This results in a javascript error (e.slice is not a function)

If I simply change this code to something like this :  MyDatasourceVar.data = data, the error goes away.

Looking over the (current) docs for datasource
http://docs.telerik.com/kendo-ui/api/javascript/data/datasource

I see mention of using the "data" property, but not a setter method like what has ben used in my project.  Was this a change in some version between the two mentioned?

 

  

 

Nikolay Rusev
Telerik team
 answered on 19 Jan 2016
3 answers
998 views

Hi,
I have a complex object like

ID 
Name
Dob
EmploymentDetailsObject
EmergencyContactObject

I want to bind this to a Kendo Grid so the ID/Name/Dob/ are the parent row and the EmploymentDetails and EmergencyContact are child rows to this parent
I return a collection of these from an API. I thought I could just bind this collection to the Grid but it doesn't seem to work?
 Can I do this? What do I need to do?

Thanks

Viktor Tachev
Telerik team
 answered on 19 Jan 2016
1 answer
120 views

 Grid values can't be selected after a row is selected if you specify  property as selectable: "multiple", But you can grid value if be do not specify selectable as multiple.

Konstantin Dikov
Telerik team
 answered on 19 Jan 2016
9 answers
10.7K+ views
 $("#PrimaryDisabilityList").kendoDropDownList({
                index: 0,
                dataTextField: "Text",
                dataValueField: "Id",
                change: PrimaryDisabilityListChange,
                dataSource: {
                    type: "json",                 
                    severFiltering: false,
                    serverPaging: false,
                    change:PrimaryDisabilityListLoaded,
                    transport: {
                        read: "@Url.Content("~/FormData/DisabilityCategories")"
                    }
                }
            });  
 
            
            /*set the values that were loaded*/
            function PrimaryDisabilityListLoaded(){
            var dropdownlist = $("#PrimaryDisabilityList").data("kendoDropDownList");
            var hiddenField = $("#PrimaryDisabilityId");
            var value = hiddenField.val();
            dropdownlist.value(value);
            //Why is this not working? It works when I call if from an event on the page, but not the change event.
            //If I can't use this on the change event for the data source, how should I set the value?
            };
Grahame
Top achievements
Rank 2
 answered on 19 Jan 2016
2 answers
3.9K+ views

Is there a limit on the number places that a column can be rounded? I am needing some of my columns to round to 4 decimal places. We are experiencing the columns only keeping 2 decimal places even though we have configured the column to have 4 decimal places.

 We were curious if this was a limitation or if we were still doing something wrong in our code or configuration.

 Thanks.

Patrick | Technical Support Engineer, Senior
Telerik team
 answered on 18 Jan 2016
5 answers
1.3K+ views
On a div with data-role="view", is it possible to set the data-title attribute with the output from a template, or the output of a JavaScript function?

Or is the only way to set the data-title dynamically by using data-show to specify a JavaScript function as eventhandler of some kind?

Is there a code snippet or demo for how to do that?
Ricardo de Assuncao Goncalves
Top achievements
Rank 1
 answered on 18 Jan 2016
5 answers
363 views

None of my exports are working in edge. I can see that the json is returned, but no download popup .

 

Is there something I need to do to make work in Edge?
Thanks
Atanas Georgiev
Telerik team
 answered on 18 Jan 2016
2 answers
52 views

Hello,

KendoEditor does not work in Windows 10 Metro App und Windows Phone.

 

Has anyone a solution? 

 

Thanks

Sebahattin
Top achievements
Rank 1
Iron
Iron
 answered on 18 Jan 2016
1 answer
184 views

I own a Kendo UI Professional license ut I no longer see the src/js folder where the source files used to reside.

Where can I find the source files?

Bill
Top achievements
Rank 2
 answered on 18 Jan 2016
Narrow your results
Selected tags
Tags
Grid
General Discussions
Charts
Data Source
Scheduler
DropDownList
TreeView
MVVM
Editor
Window
DatePicker
Spreadsheet
Upload
ListView (Mobile)
ComboBox
TabStrip
MultiSelect
AutoComplete
ListView
Menu
Templates
Gantt
Validation
TreeList
Diagram
NumericTextBox
Splitter
PanelBar
Application
Map
Drag and Drop
ToolTip
Calendar
PivotGrid
ScrollView (Mobile)
Toolbar
TabStrip (Mobile)
Slider
Button (Mobile)
Filter
SPA
Drawing API
Drawer (Mobile)
Globalization
LinearGauge
Sortable
ModalView
Hierarchical Data Source
Button
FileManager
MaskedTextBox
View
Form
NavBar
Notification
Switch (Mobile)
SplitView
ListBox
DropDownTree
PDFViewer
Sparkline
ActionSheet
TileLayout
PopOver (Mobile)
TreeMap
ButtonGroup
ColorPicker
Pager
Styling
Chat
MultiColumnComboBox
Dialog
DateRangePicker
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Accessibility
Effects
PivotGridV2
Licensing
ScrollView
Switch
TextArea
BulletChart
QRCode
ResponsivePanel
Wizard
CheckBoxGroup
Localization
Barcode
Breadcrumb
Collapsible
MultiViewCalendar
Touch
RadioButton
Stepper
Card
ExpansionPanel
Rating
RadioGroup
Badge
Captcha
Heatmap
AppBar
Loader
Security
TaskBoard
Popover
DockManager
TimePicker
FloatingActionButton
CircularGauge
ColorGradient
ColorPalette
DropDownButton
TimeDurationPicker
ToggleButton
BottomNavigation
Ripple
SkeletonContainer
Avatar
Circular ProgressBar
FlatColorPicker
SplitButton
Signature
Chip
ChipList
VS Code Extension
AIPrompt
PropertyGrid
Sankey
Chart Wizard
OTP Input
SpeechToTextButton
InlineAIPrompt
StockChart
ContextMenu
DateTimePicker
RadialGauge
ArcGauge
AICodingAssistant
SmartPasteButton
PromptBox
SegmentedControl
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?