I have a partial view in a Window.
From the main view, i open the window with jquery function.
But the result as seen in the attachment.
@model Umki2.Areas.Fbr.Models.FbrFitUp
@(Html.Kendo().DatePicker()
.Name(
"FitUpDate"
)
.Value(
"10/10/2011"
)
.HtmlAttributes(
new
{ style =
"width:150px"
})
)
From the main view, i open the window with jquery function.
function OpenFitUpForm(e) {
e.preventDefault();
var dataItem =
this
.dataItem($(e.currentTarget).closest(
"tr"
));
var wnd = $(
"#PopUpForm"
).data(
"kendoWindow"
);
$(
"#PopUpForm"
).kendoWindow({
content: {
url:
"/wlb/wlbexplorer/_FitUpForm"
,
data: { id: dataItem.Id },
},
width: 500,
title:
"FitUp Report"
,
modal:
true
,
visible:
false
,
draggable:
true
,
});
wnd.center().open();
}
But the result as seen in the attachment.