or
tabStrip.append({
text: TabLabel
content: [null,"http://ourwebapp.aspx"],
encoded: false })
as well as
tabStrip.append({
text: TabLabel
contentURL: "http://ourwebapp.aspx"})
In each case the tab is created, with the correct text, but no content.
I looked at using AJAX to load the content, but the example URLs all seemed to point to a local html file.
Has anyone else had this problem, and found an answer? It seems like it should be a pretty straight forward task.
Thanks for you time and attention.
Richard
// jQuery UI Sortable
$(
".sortable"
).sortable({revert :
true
, handle : $(
".cont-move"
,
this
), axis :
"y"
});
// Kendo UI Draggable
$(
".kendo-tree"
).kendoTreeView({
template :
"#=item.text#"
, checkboxTemplate : kendo.template($(
"#treeview-checkbox-template"
).html())
, dataSource : [
{id : 1, text :
"Parent"
, expanded :
true
, items : [
{id : 2, text :
"Child 1"
}
, {id : 3, text :
"Child 2"
}
, {id : 4, text :
"Child 3"
}
, {id : 5, text :
"Child 4"
}
, {id : 6, text :
"Child 5"
}
]
}]
, dragAndDrop :
true
, select :
function
(event) {
var
$item = $(event.node);
}
});
cont-move div is the draggable handle (works in jQuery UI, not Kendo UI)
<
ul
class
=
"sortable"
>
<
li
class
=
"ui-state-default"
>
<
div
class
=
"cont-chek"
><
input
type
=
"checkbox"
/><
div
class
=
"cont-move"
style
=
"width:24px;height:24px;background:transparent url('../../common/dhxcommon/imgs/arrow_nsew.png') no-repeat center;cursor:pointer;"
></
div
></
div
>
<
div
class
=
"cont-qstn"
><
div
class
=
"kendo-tree"
></
div
></
div
>
</
li
>
<
li
class
=
"ui-state-default"
>
<
div
class
=
"cont-chek"
><
input
type
=
"checkbox"
/><
div
class
=
"cont-move"
style
=
"width:24px;height:24px;background:transparent url('../../common/dhxcommon/imgs/arrow_nsew.png') no-repeat center;cursor:pointer;"
></
div
></
div
>
<
div
class
=
"cont-qstn"
><
div
class
=
"kendo-tree"
></
div
></
div
>
</
li
>
</
ul
>
resize: function () { setTimeout(function () { Application.Fire_ApplicationResize(); }, 200); }