Hi
i use a kendGrid like this:
It works great, but if i put the src for Chart1 into the "App_Data" folder and change the Session to the App_Data folder
the grid will not long be displayed. But wh? thanks so far
<
script
id
=
"Chart1"
src='<%=Session["LoginAbas2"]%>'></
script
>
<
div
id
=
"example"
class
=
"k-content"
>
<
div
id
=
"grid"
style
=
"width:50%;"
></
div
>
<
script
>
$(document).ready(function () {
$("#grid").kendoGrid({
dataSource: {
data: products,
schema: {
model: {
fields: {
ProductName: { type: "string" },
Bez: { type: "string" },
UnitsInStock: { type: "number" },
Discontinued: { type: "string" }
}
}
},
pageSize: 20
},
height: 430,
scrollable: true,
sortable: true,
filterable: true,
pageable: {
input: true,
numeric: false
},
columns: [
"Bez",
{ field: "ProductName", title: "Artikelnr.", width: "130px" },
{ field: "UnitsInStock", title: "Menge", width: "130px" },
{ field: "Discontinued", title: "Einheit", width: "130px" }
]
});
});
</
script
>