or
<
section
>
<
div
class
=
"clearfix"
data-role
=
"listView"
data-bind
=
"source: Products.data"
data-template
=
"product-template"
></
div
>
</
section
>
@(Html.Kendo().Menu()
.Name("grouplist")
.HtmlAttributes(new { style = "width: 140px;" })
.Items(items =>
{
foreach (ns.Models.GroupModel item in groups)
{
items.Add()
.Text(item.Name)
.HtmlAttributes(new { @class = "menuitem" })
//.HtmlAttributes(new { @title = "Items in this group : " + item.Count })
.Items(children =>
{
children.Add().Text("Add new item");
children.Add().Text("Edit group");
children.Add().Text("Delete group!");
});
}
})
.Orientation(MenuOrientation.Vertical))
$(
"#ID_Comercial"
).addClass(
'mandatory'
);
<
input
id
=
"ID_Comercial"
class
=
"mandatory"
type
=
"text"
style
=
"width: 200px; display: none;"
name
=
"ID_Comercial"
data-role
=
"dropdownlist"
>
$(function(){
that.element = $(element ? element : document.body);
that._setupPlatform();
that._setupElementClass();
that._attachHideBarHandlers();
that.pane = new Pane(that.element, that.options);
that._attachMeta();
if (that.options.updateDocumentTitle) {
that._setupDocumentTitle();
}
that._startHistory();
});
Uncaught TypeError: Cannot read property 'history' of undefined scripts/utils.js:54
redirect scripts/utils.js:54