Telerik Forums
Kendo UI for jQuery Forum
3 answers
45 views
Hello!

Today I started to work on my first Kendo widget. After many hours trying to understand why the declarative initialization wasn't working, I realized that this works:

<div id="youtube" data-role="youtube" data-templatename="template"></div>
But this doesn't (even if the name of the widget is YouTube and the name of the option in the widget definition is templateName).

<div id="youtube" data-role="YouTube" data-templateName="template"></div>

I would like to understand the reason. Probably I didn't read the documentation well enough.

Just wanted to share my experience after a whole day debugging this problem :)
Kiril Nikolov
Telerik team
 answered on 14 Dec 2013
3 answers
1,000 views
I have a buttongroup inside a modal view and I'd like to reset the button group's selection each time the modal view is opened. What's the best way to do this? I can't seem to find a way to clear the selection.
Kiril Nikolov
Telerik team
 answered on 14 Dec 2013
5 answers
371 views
I'm using the Kendo UI dataviz ASP.NET MVC framework for rendering charts, like the example given here (using the ASP.NET MVC version).The graphs and the series lables renders fine in the browser:

Browser snapshot

For generating the PDF, I use the Rotativa framework - using the wkhtmltopdf tool to convert html content to PDF.The graph renders perfectly in the PDF, however the series lables on the top is rendered incorrectly:

PDF Snapshot

As you can see, there is plenty of room for the labels to span out - but they are being rendered "randomly" on top of each other.

I have multiple graphs in the same exported PDF, and the all the labels for all the charts are incorrectly placed.Here is my rotativa action result settings:
return new ViewAsPdf("Reports/_ReportBaseIndex", FilterData)
 {
    PageOrientation = ExportOrientation,
    CustomSwitches = "--disable-smart-shrinking --print-media-type --zoom 0.75 --javascript-delay 1000"
};

Is there any way to fix the lables? Is it possible to statically place the labels, or do I have to recalculate the label positions? If so, how do I do that?

Where can I find the code that positions the series lables ?

We are running kendo UI version 2013.2.918.
Vik
Top achievements
Rank 1
 answered on 14 Dec 2013
0 answers
28 views
I've tried and tried to understand how to create the page I need and after hours and hours of trying the samples I cannot even get up a sample page from following the demos.

Is there anyone who know how to do the Grid bound to local data that can do this for my website. Give me  price.

I give up!

juliewhitmire@usatransportationlogistics.com

Julie
Julie
Top achievements
Rank 1
 asked on 13 Dec 2013
4 answers
483 views
Through experimentation, I have found that the data source grouping feature does not seem to work correctly in cases where the group values in the input data happen to be unique.  I have a simple bar chart with a category field 'product_group' and another field 'site' used for grouping within product group.  It works OK with some data sets, but in cases where each data item happens to have a unique site value, only the first category encountered in the data is being displayed in the category label.

While grouping is meaningless when performed on a unique field, for those special cases where it might happen, the chart should still display correctly.

I have recreated the problem in a jsfiddle showing two data sets, one that displays incorrectly and the other correctly: http://jsfiddle.net/W29KF/

Also, I am new to KendoUI, so please let me know if I am doing something wrong.

Fred
Top achievements
Rank 1
 answered on 13 Dec 2013
5 answers
208 views
Is it possible to have a statement like:

vm.set("SysInfo.Browser", "Chrome");

Where SysInfo is defined in the Observable object as:

vm = kendo.observable({
        SysInfo = {
        status: "starting",
        xhr2: "false",
        browser: "",
        databases: "",
        center: "",
        date: "",
        zoom: 0
    }
Dr.YSG
Top achievements
Rank 2
 answered on 13 Dec 2013
3 answers
974 views
I am using a bar chart whose category axis generates values depending upon the numbers in data. The problem is when the value of data is less, it generated the values in decimals also. Is there any way to ensure that the values generated in category axis are integers only. Please refer to attachment for the problem.
Iliana Dyankova
Telerik team
 answered on 13 Dec 2013
1 answer
54 views
I have the following code.  In the model is a property called IsAuthenticated.  After the ajax refresh, I need to check this property, and if true, then close the Window.  What is the best way to do this?

 

@using (Ajax.BeginForm("Login", "Account", new AjaxOptions { InsertionMode = InsertionMode.Replace, UpdateTargetId = "loginSection", }))
        {
            @Html.Partial("_LoginInfoPartial", Model)
            <input} type="submit" value="Log in" />
            <button type="button"  id="close_button" onclick="cancelLogin()" >Cancel</button>
             
            <script>
                function cancelLogin()
                {
                    var window = $("#loginWindow").data("kendoWindow");
                    window.close();
                }
            </script>
         }

 

 

 

 

Greg Gum
Top achievements
Rank 1
 answered on 13 Dec 2013
2 answers
133 views
I have started using Zurb Foundation (only the CSS) as a grid layout for Kendo projects.

Works fine so far, but I am having a problem with kendo windows. 

I am not getting small-offset or small-centered to work.

I suspect the pop-up window is smaller than that the media queries say the size of the outer window, so it is not working. Is that correct? 

I,e, I don't want to waste time using Zurb in pop up windows if it is not even been considered from a design viewpoint.

Dr.YSG
Top achievements
Rank 2
 answered on 13 Dec 2013
3 answers
271 views
Hi Kendo Team:
What's the solution you give for kendo ComboBox with remote dataSources that return thousands of rows? Paging? Virtual Scrolling?
The demos only show comboBoxes with just a few records. Could you provide any sample, please?

Kind regards,
Oscar.
Kiril Nikolov
Telerik team
 answered on 13 Dec 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?