Here is the $create statement:
WebForm_InitCallback();Sys.Application.add_init(
function
() {
$create(Telerik.Web.UI.RadGantt, {
"_skin"
:
"Silk"
,
"_uniqueId"
:
"rgPlanning"
,
"clientStateFieldID"
:
"rgPlanning_ClientState"
,
"columnsData"
:[{
"title"
:
"Title"
,
"width"
:100,
"field"
:
"title"
},{
"title"
:
"Start"
,
"width"
:100,
"format"
:
"{0:dd/MM/yy}"
,
"field"
:
"start"
},{
"title"
:
"End"
,
"width"
:100,
"format"
:
"{0:dd/MM/yy}"
,
"field"
:
"end"
},{
"title"
:
"Hours"
,
"width"
:100,
"field"
:
"time"
}],
"customTaskFields"
:[{
"propertyName"
:
"Time"
,
"clientPropertyName"
:
"time"
,
"defaultValue"
:
null
,
"type"
:2}],
"dependenciesData"
:[{
"ID"
:10,
"PredecessorID"
:124,
"SuccessorID"
:129,
"Type"
:1},{
"ID"
:10,
"PredecessorID"
:124,
"SuccessorID"
:129,
"Type"
:1},{
"ID"
:11,
"PredecessorID"
:124,
"SuccessorID"
:141,
"Type"
:1},{
"ID"
:11,
"PredecessorID"
:124,
"SuccessorID"
:141,
"Type"
:1}],
"viewsData"
:[{
"selected"
:
true
,
"type"
:
"day"
},{
"type"
:
"week"
},{
"monthHeaderTemplate"
:
"#=kendo.toString(start, \u0027MMM, yyyy\u0027)#"
,
"type"
:
"month"
},{
"type"
:
"year"
}]},
null
,
null
, $get(
"rgPlanning"
));
});
I'm not getting any javascript errors.