Telerik Forums
Kendo UI for jQuery Forum
0 answers
116 views
Hello:

I have a property in my CodeBehind that return JSON data:

public string EventTypeCount
{
    get
    {
        JavaScriptSerializer js = new JavaScriptSerializer();
        return js.Serialize((List<EventTypeCount>)obj);
    }
    set { ViewState["EventTypeCount"] = value; }
}

obj actually contains data and the serialization works ok, the problem is that I don't know how to tell the kendo ui chart to use this datasource. Right now I'm trying this the following, the dataEvent var actually recieves the Json String but I don't know how to tell the chart to understand that datasource. If I use a Handler that uses the transport property to make the request everything works ok, but I need this approach.

Thanks for any help.

Code:

function createChartEvents() {
                var dataEvent = '<%= EventTypeCount %>';
                $("#chartEvents").kendoChart({
                    theme: "metro",
                    dataSource: {
                        data: dataEvent,
                        dataType: "json"
                    },
                    title: {
                        text: "Estudios"
                    },
                    legend: {
                        position: "bottom"
                    },
                    seriesDefaults: {
                        type: "column",
                        labels: {
                            visible: true
                        }
                    },
                    series: [{
                        field: "CountMade",
                        name: "Eventos Finalizados"
                    }, {
                        field: "CountUnmade",
                        name: "Eventos Pendientes"
                    }, {
                        field: "CountCanceled",
                        name: "Eventos Cancelados"
                    }],
                    categoryAxis: {
                        field: "EventTypeName"
                    },
                    dataBound: onDataBound,
                });
            }
Felipe
Top achievements
Rank 1
 asked on 18 May 2012
0 answers
24 views
Hello guys:

I don't know if I can't see the option or if the site actually doesn't have it but, where is the forum option to search topics? Can you make it??

It is a hard task to search page for page to see if something has anything to do with what I'm looking for.

Thanks, and sorry... I know this shouldn't be here
Felipe
Top achievements
Rank 1
 asked on 18 May 2012
0 answers
43 views
When I add multiple windows to a page they are all created in the same spot. Is it possible to lay out the windows left to right ?
Volkan
Top achievements
Rank 1
 asked on 17 May 2012
0 answers
178 views
I need a grid with a Checkbox column to select/deselect multiple rows. I have tried the column template by doing the following
{ field: 'IsSelected', title: 'Select', type: "boolean", template: '<input class=selector type=checkbox />', width: '50px' }

But, how do I bind the event of checking the checkbox select/deselect the row? I also need the "Select All" checkbox in the header which would select all the rows.
Suresh
Top achievements
Rank 1
 asked on 17 May 2012
0 answers
113 views
Hi,

When binding to the grid change event, if I change any property on the data item using the set method, the grid selection no longer works. Please see http://jsfiddle.net/Z46Xc/1/ . Is this not the correct way to do this? In reality, the sub collection is bound to another grid and loaded on selection of parent row.

Thanks for your help.
Omar Beaconsfield
Top achievements
Rank 1
 asked on 17 May 2012
1 answer
235 views
hello

I have a datepicker and a grid that when I select a date from the datepicker take in a date field, the date picker to select the date
someone knows how to do that in the grid?
would like to modify the datasource.
currently taking data from a file filled with asp
and the date is the only field I want to take of the page.
regards!!
Ricardo
Top achievements
Rank 1
 answered on 17 May 2012
3 answers
172 views
I need an onLoaded event for the Kendo UI window widget. While the content loads asynchronously I want to display something like "Loading..." or a spinner.
Iliana Dyankova
Telerik team
 answered on 17 May 2012
0 answers
78 views
I am completely unable to find the script builder app since the user account area has been fuglified...

Whats the URL to it, or where can it be found?
sitefinitysteve
Top achievements
Rank 2
Iron
Iron
Veteran
 asked on 17 May 2012
8 answers
808 views
is it possible to restrict the upload to only certain file types?
i am already validating that in the handler... but would prefer to just prevent the user from selecting an invalid file type.
Manuel
Top achievements
Rank 1
 answered on 17 May 2012
1 answer
101 views
Hi,

Is it possible to append event on numeric text box after it's initialized?

Thanks~
Joseph Roberts
Top achievements
Rank 1
 answered on 17 May 2012
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?