Telerik Forums
Kendo UI for jQuery Forum
1 answer
130 views
Hello,

I'm trying to follow along in this guide here:

http://docs.telerik.com/aspnet-mvc/getting-started/asp-net-mvc-5

... going with the "Use CDN Services" section.

I did everything it says to do and I get an except when I run my application:

http://www.shahspace.com/acm/json viewer harness testing/Kendo/HttpCompileException.png

I'm getting this in my _loginLayout.cshtml file.

I've pinned the problem down to these references here, which are in the head of my _mainLayout.cshtml file:

    <link rel="stylesheet" href="http://kendo.cdn.telerik.com/2017.1.118/styles/kendo.common-bootstrap.min.css" />
    <link rel="stylesheet" href="http://kendo.cdn.telerik.com/2017.1.118/styles/kendo.bootstrap.min.css" />

    <script src="http://kendo.cdn.telerik.com/2017.1.118/js/kendo.all.min.js"></script>
    <script src="http://kendo.cdn.telerik.com/2017.1.118/js/kendo.aspnetmvc.min.js"></script>

If I comment this out, my application runs fine.

I got the latest Kendo version from here:

http://docs.telerik.com/kendo-ui/intro/installation/prerequisites

...which says that 2017.1.118 is the latest.

In our application, we already have JQuery and Bootstrap. I'm wondering if the inclusion of these references are clobbering them.
Konstantin Dikov
Telerik team
 answered on 19 Jun 2017
1 answer
147 views

How do I set the date-format of a pie chart with mvvm?

I would like a result like this(attached file)

 

Daniel
Telerik team
 answered on 19 Jun 2017
1 answer
148 views

I have a pie chart. This is the code:

 

<div data-role="chart"data-legend="{ position: 'bottom' }"data-series-defaults="{ type: 'column' }"data-category-axis="{
                        field: 'name',
                    }"data-value-axis="[
                        { name: 'name'},
                    ]"data-series-colors="['#DDDDDD','#FFFF00','#FF0000','#00CC00']"data-series="[
                                { field: 'doc1', name: 'doc', labels: {visible: true} },
                                { field: 'doc2', name: 'doc', labels: {visible: true} },
                                { field: 'doc3', name: 'doc', labels: {visible: true} },
                                { field: 'doc4', name: 'doc', labels: {visible: true} }
                             ]"data-bind="source: DocSource,
                            events: { seriesHover: onSeriesHover }"></div>

I wuold like set data with '%' using MVVM of kendo

Daniel
Telerik team
 answered on 19 Jun 2017
2 answers
870 views

I have an MVC grid where I have a Save event defined as follows:

.Events(events => events.Change("gridRowChange").Edit("onEdit").Save("onSave"))

In my JavaScript code I have an onSave(e) function defined that never gets called when a grid item is saved.

I should also point out that all grid rows in this page are saved manually via a JS function containing the following line.

    $("#grid").data("kendoGrid").saveRow();

I saw in another thread from several years ago that someone else was having the same issue doing what I'm doing but I never saw a resolution.

Georgi
Telerik team
 answered on 16 Jun 2017
1 answer
211 views

I am trying to get Font Awesome icons to display in my custom editor tool. The example I found here: http://docs.telerik.com/kendo-ui/controls/editors/editor/how-to/appearance/add-icon-custom-tool no longer works. We are using version 2016.3.1118 and although the example is broken in both that version and the latest release, they do display different behavior so please provide an update to the example for version 2016.3.1118. Thanks!

Dimitar
Telerik team
 answered on 16 Jun 2017
3 answers
182 views
We need to do some format change operation only for pasted data which is copied from other spreadsheet. That format change is not applicable for manually written data  We have tried to distinguish pasted data from manually written data in 'Change' event of spreadsheet but could not find any clue.
Veselin Tsvetanov
Telerik team
 answered on 16 Jun 2017
2 answers
514 views

I am trying to create a master/detail grid using this example Kendo Dojo. It seemed to work fine as both grids are receiving data. However, when I expand the detail grid the rows do not display. If you see the example below, TagID #1 has a record count of 1 detail row that should display but it doesnt'. It only shows like a white space, whereas TagID #22 which does not have any detail records shows a record count of 0 and a completely empty grid.

Here is my HTML:

<div kendo-grid="tagsGrid" options="tagsGridOptions">

    <div k-detail-template>

<kendo-tabstrip>

<ul>

<li class="k-state-active">Tagged Contractors</li></ul>

<div>

<div kendo-grid k-options="detailGridOptions(dataItem)"></div>

</div></kendo-tabstrip></div>

</div>

Here is my Angular Controller Code for the detail grid:

 

$scope.detailGridOptions = function (dataItem)

{return

{ dataSource:

{ type: 'aspnetmvc-ajax', transport:

{ read: "/Home/GetTaggedContractorsByMajor"},

serverPaging: true,

serverSorting: true,

serverFiltering: true,

pageSize: 5,

filter: { field: "TagID", operator: "eq", value: dataItem.TagID },

schema: { data: "Data", total: "Total"}},

scrollable: false,

sortable: true,

pageable: true,

columns: [{ field: "CompanyID", title: "CompanyID"},{ field: "vchCompanyName", title: "Company Name"}]};};

I didn't include the code for the master grid for brevity, but if anyone feels they need it in order to help, I will gladly add it.
Alex Hajigeorgieva
Telerik team
 answered on 16 Jun 2017
1 answer
572 views

We have a grid configured with the "all" page size in the options: 

this.gridOptions.pageable = <kendo.ui.GridPageable>{
                input: true,
                numeric: false,
                pageSizes: ["all", 5, 10, 20, 50],
                refresh: true
            };

 

When we programmatically refresh the grids datasource (below), and that refresh pulls in an additional item to display in the grid, the pager in the grid is no longer what we'd expect. 

this.manageGridDataSource.read();

 

If the grid had 9 items before, the pager now shows 9, and the new item is now on page two. I understand that the "all" selection just sets the pageSize to the total number of items in the datasource, but what we want to happen is that after the refresh, the "all" setting is preserved and the additional grid item displays on the first page, not generate a second page of data. 

Do you know how this can be achieved? 

Stefan
Telerik team
 answered on 16 Jun 2017
1 answer
267 views

I'd like to be able to zoom in with Mousewheel (works fine) and pan sideways with Mousewheel + Ctl.

Is this possible?

Thanks, Bob Graham

Stefan
Telerik team
 answered on 16 Jun 2017
1 answer
91 views

Was noticing yesterday in a dojo example I believe it was, that the columns had a vertical "shine" on them, though the demo that I got there from didn't. I didn't see anything in the code that was adding that 3D look.

Not really sure I want to use it as it's getting to be a bit passé, but I'd like to have the option.

Normally I'd expect it to be done with a y-repeat background image, but I saw no sign of that in the example code.

Thanks, Bob Graham

Iliana Dyankova
Telerik team
 answered on 16 Jun 2017
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
ScrollView
Switch
TextArea
BulletChart
Licensing
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
FloatingActionButton
CircularGauge
ColorGradient
ColorPalette
DropDownButton
TimeDurationPicker
ToggleButton
TimePicker
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
SegmentedControl
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?