Telerik Forums
Kendo UI for jQuery Forum
2 answers
130 views
Hi,

I am using 2013.2.716

For some reason - since yesterday, all my graphs category axis looks crashed.
I am using  chart with Dates as category Axis. the graph looks ok but the category line looks Smashed.

Symptoms:
1. this only occurs on some client browsers machine. 
2. affects all browsers.
3. The problem comes when I use dates that are before and after DST change on hour local settings (27/10).
I.e. : start date is 25/10 and end date 29/10 - is crashed. if both before 26/10 it looks fine
4. if We change Time settings - this problem is also solved.

What is weirder is that this worked fine yesterday- And we did not change anything Lately.

I saw this past thread:
http://www.kendoui.com/forums/kendo-ui-dataviz/chart/charts-appear-crushed-on-ie-7-thru-9-on-some-user-machines.aspx
but it doesn't help me here, I tried adding height and width properties.
 
Attached is the screen shot and a file showing how I use the graph.


please advise.

Thanks,
 
Koby
Top achievements
Rank 1
 answered on 18 Nov 2013
2 answers
197 views
Hi,
I'm using kendo editor to substitute the ajax html editor in my aspx application. I believe the same I'm using now to write. 
I am using kendo 2013.2.918 version.
I need to implement the Undo/redo functionalities. Basically I added two custom buttons and a function to handle the click in the tools[] array as

                $("#editor").kendoEditor({
                    tools: [
                    ..........
                    {
                        name: "customundo",
                        tooltip: "Undo",
                        exec: function (e) {
                            var editor = $(this).data("kendoEditor");
                            editor.exec("undo");
                        }
                    },
                    {
                        name: "customredo",
                        tooltip: "Redo",
                        exec: function (e) {
                            var editor = $(this).data("kendoEditor");
                            editor.exec("redo");
                        }
                    },
 
                    ..........
                    ]

Everytime I click the undo/redo button, the method editor.exec(undo/redo) is called.
I always get an error in kendo.all.min.js as
"JSCript runtime error: object doesn't support this property or method.
in kendo.all.min.js the statement "a.undoRedoStack[e]" is highlighted.
I implemented a preliminary version this summer using version 2013.2.710 and the exec(undo) worked. I noticed also the css changed substantially between the 2 versions.
I tried kendo.web.min.js but it behaves in the same way. Can you please tell me how I can implement undo/redo ?

For completeness I attach the the aspx file

Thanks for your kind attention

best regards

Marco
marco
Top achievements
Rank 1
 answered on 18 Nov 2013
2 answers
298 views
I am using MVC Complete v2013.2.918

I am working on supporting batch editing of a column (the percentage column - a decimal value) in the grid across pages when server side paging is used.  I am modeling my modifications based on this example:

When I click the save button (which calls grid.dataSource.sync()), it is currently only sending data for the current page (which is expected and why I'm trying to use something like the linked example above).  The issue now becomes: how can I modify the data sent from the client to the server to contain all the data across all pages instead of just the current page?  I now have the data (thanks to the example above), but don't know how to add it to the data sent to the server.

Thanks in advance
Alexander Popov
Telerik team
 answered on 18 Nov 2013
2 answers
142 views
Hi ,

Is there anyway I can have a pointer cursor  whenever there is a axislabel click method is enabled for charts ? 

I saw the svg that is rendered is having a data-model-id tag but that is also associated with the value axis as well.
I only need a mouse pointer only for the category axis. Is there any way I can achieve the same? 

Thanks,
Anirban

Iliana Dyankova
Telerik team
 answered on 18 Nov 2013
2 answers
145 views
I have been working with the MVC Wrappers and now I want to check the possibility of using Json bound kendo web controls with out a ViewModel.
I was wondering is there is a simple way of creating a simple Js wrapper that would create the element that the Kendo control would bind to and create a very smoth code instead of:
Html element 
JS $(#ElementName).kendowigit(data)...
Is the kendo team thinking of this has it been done.
The only like that resemble this is http://www.kendoui.com/blogs/teamblog/posts/12-04-03/creating_custom_kendo_ui_plugins.aspx
But one of the parameters the init function recieves is Element.

Yours,

Ariel

VasVas
Top achievements
Rank 1
 answered on 18 Nov 2013
2 answers
159 views
Hi,

I need help :). I would like to do something like this:

https://developers.google.com/chart/interactive/docs/gallery/motionchart (press the play button)

A bubble chart with a date slider,. Basically  when I move the slider, the bubble chart will refreshing the data dynamicaly...

Do you know if is possible to do it? and the best thing! Do you have any example? 

Thanks a lot!
Luis
=======================================
EDIT:

I found this example: http://www.kendoui.com/forums/kendo-ui-dataviz/chart/update-datasource.aspx

So I think that will be possible to do!  But if anyone has an example... please let me know!

Thanks
Luis
Top achievements
Rank 1
 answered on 18 Nov 2013
3 answers
339 views
Hi,
 
I'm trying to make a Pinterest like page for images -  the images will need to be clickable to display some kind of pop-up or light box so the user can vote for or share the image. I need endless scrolling with a responsive widget that wraps the images as the screen size changes. So, in a desktop environment there might be 10 images across while in a mobile environment there might be one, two, three , or four depending if the mobile device is a phone or tablet.

The only widget I see with endless scrolling is the Mobile List View, though the Scroll View custom template example does seem to do that too. I just can't figure out how to make it work with our XML datasource. (I might actually prefer using this widget but, like I said, I can not figure out how it works. I welcome any advice here too.)

Using the Endless Scrolling mobile List View example as a start, how do I get it to display images horizontally to fill a row to the width of its container and wrap to 
the next row when needed? (It seems that when I don't use the endless scrolling setting that the images will form 3 columns but with endless scroll turned on the widget insists on only having one column).

I have tried following the following post but it is getting me no where as the images are always stacked on top of each other as though I made no changes:
http://www.kendoui.com/forums/kendo-ui-mobile/general-discussions/container-for-images.aspx

Also, how do I dynamically set the total count of images in the datasource. The total count is unknown until the data is brought back. The total count is an attribute of the root element in the returned XML.

Thanks,
Eric
Petyo
Telerik team
 answered on 18 Nov 2013
1 answer
307 views
To better explain what I'm looking to do I adapted a sample from the cascading dropdownlists. View JSFiddle example  The issue is with the data format...

Work flow is that we have selected a town. Then all the streets in that town are populated in DDL. Once street is selected, then all the street numbers on that selected street are populated in the last DDL.

Note: The mock data is a sample of the real data with much less. Code from the existing REST endpoint creation can be viewed in here: REST C# endpoint

What tweaks do I need to make to take advantage of this perfect example for a cascading dropdownlist?

Thanks in advance!
Alexander Valchev
Telerik team
 answered on 18 Nov 2013
3 answers
120 views
Hi,

Kendo Web 2013.2.918 no longer has the DropDownList.enable(enabled) function.  It appears that this has been removed from your documentation as well.  But, interestingly, it is still in the demos on your website.  Did you remove this?  Why?  Now I have to use readonly and then set the disabled styling manually which is doable but what a hassle for people upgrading.

Georgi Krustev
Telerik team
 answered on 18 Nov 2013
1 answer
272 views
Hi Kendo team,

I have a problem with reading the datasource. 

 data = new kendo.data.HierarchicalDataSource({
//----i am using this one---
                //transport: {
                //    read: function (options) {
                //        $.ajax({
                //            url: '/Inventory/GetcategoryTree',
                //            type: "GET",
                //            dataType: "json"
                //        });
                //    }
                //},
//-----or this one------
                transport: {
                    read: {
                        url: function () {
                            return '/Inventory/GetcategoryTree';
                        },
                        create: {
                            dataType: "json",
                            type: "GET",
                            cache: true
                        }

                    }
                },
                schema: {
                    model: {
                        id: "Id",
                        children: "Children"
                    }
                },
                scrollable: true,
                sort: { field: "CategoryName", dir: "desc" }
            });

Then i add the DS to the tree:


    var treeView = $("#treeview").kendoTreeView({
        dataSource: data,
        scrollable: true,
        dataTextField: "CategoryName",
        select: function (e) {
            this.expand(e.node);
        }
    }).data("kendoTreeView");

So now the problem is, when i call the treeView.dataSource.read() nothing happens and in debugger i see that the read() is undefined.(cant see it in the list of methods too)

Do you guys now when this ca occur, and under what circumstances. Is it the HierarchicalDataSource? I can see that the data source is there and i see the data too. However on break point in Chrome the dataSource is "B.extend.init"  
Atanas Korchev
Telerik team
 answered on 18 Nov 2013
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
Drag and Drop
Map
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
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?