or
<
script
type
=
"text/x-kendo-template"
id
=
"template"
>
<
div
class
=
"tabstrip"
>
<
ul
>
<
li
>
Adressen
</
li
>
<
li
class
=
"k-state-active"
>
Kontakte
</
li
>
</
ul
>
<
div
>
<
div
class
=
"addresses"
></
div
>
</
div
>
<
div
class
=
"contacts"
></
div
>
</
div
>
</
div
>
</
script
>
function
onDetailInit(e) {
var
detailRow = e.detailRow;
detailRow.find(
".tabstrip"
).kendoTabStrip({
animation: {open: {effects:
"fadeIn"
}}
});
detailRow.find(
".addresses"
).kendoGrid({
dataSource: DataSource.get(
"address"
),
serverPaging:
true
,
serverSorting:
true
,
serverFiltering:
true
,
scrollable:
false
,
sortable:
true
,
pageable:
true
,
columns: [
{field:
"street_address"
, title:
"Anschrift"
},
{field:
"zip"
, title:
"PLZ"
},
{field:
"city"
, title:
"Ort"
}
]
});
detailRow.find(
".addresses"
).data(
"kendoGrid"
).dataSource.filter( [{ field:
"id"
, operator:
"eq"
, value: e.data.id }] )
detailRow.find(
".contacts"
).kendoGrid({
dataSource: DataSource.get(
"contact"
),
serverPaging:
true
,
serverSorting:
true
,
serverFiltering:
true
,
scrollable:
false
,
sortable:
true
,
pageable:
true
,
columns: [
{field:
"surname"
, title:
"Nachname"
},
{field:
"prename"
, title:
"Vorname"
},
{field:
"phone"
, title:
"Telefon"
},
{field:
"mail"
, title:
"Email"
},
{field:
"birthday"
, title:
"Geburtsdatum"
, template:
'#= kendo.toString(birthday, "dd.MM.yyyy")#'
}
]
});
detailRow.find(
".contacts"
).data(
"kendoGrid"
).dataSource.filter( [{ field:
"client_id"
, operator:
"eq"
, value: e.data.id }] )
}
<asp:TextBox ID="txtCreativeNotes" runat="server" Rows="5" TextMode="MultiLine" Width="420px" ClientIDMode="Static"></asp:TextBox>
$(document).ready(
function
() {
$(
"#txtCreativeNotes"
).kendoEditor();
<span style=
"color:#880015;"
>This
is
</span><strong><span style=
"font-family:'Courier New',Courier,monospace;color:#880015;"
>sparta</span></strong>
<
span
class
=
"k-widget k-datepicker k-header"
style
=
"width: 150px;"
>
<
span
class
=
"k-picker-wrap k-state-default k-widget"
>
<
input
id
=
"dp"
class
=
"k-input"
style
=
"width: 150;"
readonly
=
"readonly"
>
<
span
class
=
"k-select"
unselectable
=
"on"
>
<
span
class
=
"k-icon k-icon-calendar"
unselectable
=
"on"
>select</
span
>
</
span
>
</
span
>
</
span
>
I currently have a 2 pane splitter ... the second pane has a relative reference to an html snippet for the contents of the 2nd pane.