Telerik Forums
Kendo UI for jQuery Forum
1 answer
72 views
Is it possible for a javascript Kendo widget to observe MVVM models, or can only those widgets declaratively defined in HTML participate? The reason I'm asking is that sometimes it's preferable for me to be able to define widgets in a page, but sometimes I'd like to keep them in as javascript functions.
Petyo
Telerik team
 answered on 25 Nov 2013
1 answer
132 views
Hi I am new to Kendo, and was wondering if there was a way to change the marker size? I need the size to be about half as big as it currently is. 
Hristo Germanov
Telerik team
 answered on 25 Nov 2013
1 answer
115 views
So in the API documentation, it shows marker default setting, layer settings, etc.  Are these not possible to be set via Razor syntax:

@(Html.Kendo().Map().MarkerDefaults(con=>con.Color("blue"))

but the only settings here are shape, size, and color.

Nothing about the tooltip settings.  So is the API in general assumed to be only available in javascript?

Hristo Germanov
Telerik team
 answered on 25 Nov 2013
3 answers
60 views
I'm working with the trial right now. And I've noticed that none of the demos recognize internet explorer as a mobile browser.  
So, the touch events aren't being handled properly.

For example, the scheduler is all but unusable.  And in charting, tooltips don't show when tapped.

The test environment is windows 8.1 RT ie 11.

Are there any plans to handle this in the future?
Petyo
Telerik team
 answered on 25 Nov 2013
3 answers
233 views
Hello

When I press Ctrl+Z to undo changes, it does the undo however I get this JS error:
Line: 21
Error: Unable to get property 'selectRange' of undefined or null reference

I've checked the code and it seems that this.editor was never initialized.

You can reproduce the issue using the online demo

Regards,
Alex Gyoshev
Telerik team
 answered on 25 Nov 2013
5 answers
196 views
I've gone over to the demos and the widgets aren't responsive.  Ok so maybe you haven't updated the website.  
So where is the documentation?  I blame it on my add
Alex Gyoshev
Telerik team
 answered on 25 Nov 2013
7 answers
471 views
Hi,
 
I am using KendoUI web widgets in my enterprise app. I need to create/customize a Theme as our corporate branding. After reading the docs, I realized that there is a tool called ThemeBuilder for this purpose available here http://demos.kendoui.com/themebuilder/web.html
 
Now I need to understand the logic behind the color options this tool (ThemeBuilder) shows me. All the Themes are based on 4 primary colors as shown in the selection options. However, when i try to modify/customize any theme, I found that there are more to it? How the ThemeBuilder is calculating all other colors besides the 4 Theme colors?
If I need to create my own corporate theme with 4 primary colors, how do I pick rest of the colors as shown in ThemeBuilder?
 
On the second note, ThemeBuilder can generate css and less. Is there a way to generate Scss as we are using scss in our organization?
 
Does Telerik provides scss version of their source styles. I know they provide css and less in their source directory. But converting them to scss looks like a nightmare to me!
 
 
Appreciate your help.
Dimo
Telerik team
 answered on 25 Nov 2013
1 answer
105 views
I'm trying to add a new item to the kendo scheduler.
My database columnNames for the start and end are "TimeStart" and "TimeEnd"
These columns have datetime formats.

In the scheduler I use the following lines to read the items from the database.
start: { type: "date", from: "TimeStart" },
end: { type: "date", from: "TimeEnd" },

When I create a new item, I set the TimeStart and TimeEnd to the chosen values.
But, because it's a custom insert form, I use:
$("#Scheduler").data().kendoScheduler.dataSource.add(newItem);

Before adding the item to this function, the dates are properly added to the object.
When I do another console.log() in the create function, the dates are suddenly changed to the current date/time.
My create function is just like this:
create: function (e) {    console.log(e);    }
Why does the dataSource.add() function reset all my dates?

note: I've tested this with another field in my database "CreatedDate", which has no "from" attribute in the fields configuration.
 It turns out that this object doesnt change, when I set it, but when I leave it empty, Kendo will fill it also with the current Date/Time

Thanks in advance!
Rosen
Telerik team
 answered on 25 Nov 2013
4 answers
141 views
pl help me,.
I'm having difficulty in parameter in children tree view.
I don't know how to do it.
Everyone pl hepl me.
My code here below:
**********************************************************************
 function populateTreeView(){
       var url = "/Home/Get_Catagory_Menu";
        var dataSource = new kendo.data.HierarchicalDataSource({
            transport: {
                read: {
                    url: url,
                    dataType: "json",
                    data: { 'flag': 1, cat_id=????  ==> it here }
                }
            },
            schema: {
                model: {
                    id: "cat_id",
                    text: "cat_name",
                    expanded: false,
                    hasChildren:"haschildren",
                    children:{
                        transport: {
                            read: {
                                url: url,
                                dataType: "json",
                                data: { 'flag': 2 , cat_id=????  ==> it here}
                            }
                        },
                        schema: {
                            model: {
                                id: "prd_id",
                                text: "prd_name",
                                hasChildren: false
                            }
                        }
                   }
                },
            }
        });
//        function onExpand(e){
//            console.log(this.text(e.node));
//        }
        $("#treeview").kendoTreeView({
          // autoBind: false,
            dataSource: dataSource,
            dataTextField: ["cat_name","prd_name"],
          // expand: onExpand,
       });
   }
    $(document).ready(function () {
        populateTreeView();
    })
********************************************
Petur Subev
Telerik team
 answered on 25 Nov 2013
8 answers
242 views
I have explained the details  here

My problem is that virtual scrolling works fine with varying 'total '( i.e, correctly stops  making ajax calls when the 'total' equals the number of items received)   however when  server filtering is enabled the scrolling never stops(even when the total equals the items received)

Note: This behavior is seen when you use the filter widget (but not when you merely enable 'serverFiltering' to 'true')

Any workaround for this?
Rosen
Telerik team
 answered on 25 Nov 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?