Telerik Forums
Kendo UI for jQuery Forum
2 answers
301 views

I'm working with the Kendo UI scheduler in pure javascript and I want to make changes to the recurrence editor.  

I want to start with the EXACT javascript template that is used for the default scheduler edtitor, then make my changes.  

Where can I find the default editor template source?

Thanks.

David
Top achievements
Rank 1
 answered on 01 Aug 2016
3 answers
697 views

http://dojo.telerik.com/ACEri

 

(Scroll to the bottom to set the number of items in the multi.)

rwb
Top achievements
Rank 2
 answered on 01 Aug 2016
2 answers
656 views

 

We all know ToDataSourceResult can be extremely slow with large data sets. A lot of times with comes down to this line:

        result.Total = data.Count();

 

The "solution" has been to change the Kendo  MVC source code or implement custom bingding.
I am sorry but this is not an acceptable "solution".

 

Make this call an extension method that one can override easily in our applications.

 

Best Regards

 

 

http://www.telerik.com/forums/unnecessary-(and-slow!)-sql-request-on-todatasourceresult

http://stackoverflow.com/questions/15843703/kendo-mvc-todatasourceresult-extremly-slow-with-large-iqueryable

https://www.google.no/search?q=kendo+result.Total+%3D+data.Count()%3B&oq=kendo+result.Total+%3D+data.Count()%3B&aqs=chrome..69i57.1071j0j7&sourceid=chrome&ie=UTF-8#q=kendo+ToDataSourceResult+slow

 

 

 

 

Trond
Top achievements
Rank 1
 answered on 01 Aug 2016
3 answers
328 views

I was looking at thread dealing with two things:

  • Truncate long values by showing '...' in order to maintain the row height standard throughout the grid
  • Activate tool-tip to show the complete cell value

I stumbled across this thread: listview make content ellipses and show tooltip when width of content exceeds 240px

Someone posted this utility method over there:

function gridHeaderTooltip( kendoGrid, tooltipPosition, filterSelector ) {
    kendoGrid.kendoTooltip({
        filter: filterSelector,
        position: tooltipPosition,
        content: function (e) {
            var target = e.target;
            return $(target).text();
        },
        beforeShow: function (e) {
            var isActive = isEllipsisActive(e.target[0]);
            if (!isActive) {
                e.preventDefault();
            }
        }
    });
}
  
function isEllipsisActive(e) {
    return (e.offsetWidth < e.scrollWidth);
}
  
kendo.ui.Tooltip.fn._show = function (show) {
    return function (target) {
        var e = {
            sender: this,
            target: target,
            preventDefault: function () {
                this.isDefaultPrevented = true;
            }
        };
  
        if (typeof this.options.beforeShow === "function") {
            this.options.beforeShow.call(this, e);
        }
        if (!e.isDefaultPrevented) {
            show.call(this, target);
        }
    };
}(kendo.ui.Tooltip.fn._show);

How do I use this (or where do i plug it) to achieve my two points above?

Dimiter Topalov
Telerik team
 answered on 01 Aug 2016
4 answers
410 views

I have a list view that has a SignalR datasource. I load the initial data fine and the sorting works properly on the timestamp. What I am trying to do, is update the list with either new items or an updated timestamp on an existing item using SignalR.

If I simply update a new item using the update method, I can see the timestamp change, but it stays in the same position. To work around this, I do a Destroy and then a Create. This works perfectly. The problem  I am having, is that when a new item is sent it doesn't get inserted in to the list. I don't see any Javascript errors and I see the proper SignalR communication using the browser developer tools.

Boyan Dimitrov
Telerik team
 answered on 01 Aug 2016
1 answer
120 views
Does the Kendo UI version of the scheduler control support special slots?  We are porting an application from Silverlight, but are concerned that the Kendo version of this control does not support the features we need - specifically read-only slots that are visibly different from other slots on the scheduler, that are generated using recurrence patterns.
Georgi Krustev
Telerik team
 answered on 01 Aug 2016
1 answer
102 views

Hello.

Here is the example of wrong behavior - http://dojo.telerik.com/@paul/eWemi :

1. click 'Run' and right after that click 'Show Grid' - grid will be loaded with correct height;

2. click 'Run', wait 3-5 seconds and then click 'Show Grid' - data will be loaded on top of grid's layout;

Do you know how to fix it or any workarounds?

 

Thank you.

Paul

Alexander Popov
Telerik team
 answered on 01 Aug 2016
1 answer
444 views

I'm attempting to use the Kendo UI DataSourceResult with my Kendo UI Grid using the code found here.

I'm not using ASP.NET MVC, but rather VB.NET with ASP.NET Web Forms and Web API on the backend. I understand how the DataSourceResult object works, however I'm having trouble figuring out the lines of code at lines 19-21. Here is the code in C#:

DataSourceRequest request = JsonConvert.DeserializeObject<DataSourceRequest>(
// The request is in the format GET api/products?{take:10,skip:0} and ParseQueryString treats it as a key without value
requestMessage.RequestUri.ParseQueryString().GetKey(0));

and the code equivalent in VB.NET:

' The request is in the format GET api/products?{take:10,skip:0} and ParseQueryString treats it as a key without value
Dim request As DataSourceRequest = JsonConvert.DeserializeObject(Of DataSourceRequest)(requestMessage.RequestUri.ParseQueryString().GetKey(0))

Whenever I execute the code I get a System.ArgumentOutOfRangeException. Debugging the code the requestMessage.RequestUri.ParseQueryString().GetKey(0) returns "take" which is what I'd expect, as that's the key of the first parameter. Using Fiddle I can see that the Grid sends the RequestUri of "http://localhost:53786/api/object/4?take=20&skip=0&page=1&pageSize=20". What do I need to do to get the code working correctly with my Grid and API?

Rosen
Telerik team
 answered on 01 Aug 2016
1 answer
137 views
When using the Office 365 theme with AutoComplete (the same goes for MultiSelect) appears to be 'broken'. As a matter of fact it actually the navigation itself does work, but the currently selected item does not get highlighted when navigating throught the item popup. 
Georgi Krustev
Telerik team
 answered on 01 Aug 2016
3 answers
282 views
I am using two date picker, on selection of first it should change date of second date picker based on min and max
the problem is until I select first picker,second date picker is displaying with disabled state and hiding date glypcon
This was working fine until the version  "kendo ui 2015 q2"
Here is the working example with kendo ui 2015 Q2 

 

after updating to kendo ui 2015 Q2 to higher versions,
I'm facing issue as specified above
here is  the example .

Please help us to fix this issues


Kiril Nikolov
Telerik team
 answered on 01 Aug 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
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
SmartPasteButton
PromptBox
SegmentedControl
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?