or
@(Html.Kendo().Upload()
.Name("ImageUpload")
.Multiple(false)
.Async(a => a
.Save("UploadImage", "Home")
.AutoUpload(false)
)
.Events(e =>
{
e.Error("UploadError");
e.Success("GetImagePreviews");
})
)
@(
Html.Kendo().RadialGauge()
.Name(
"patientDocumentMatchThresholdGauge"
)
.Pointer(pointer => pointer.Value((
double
)Model.PatientDocumentMatchThreshold * 100))
.Scale(scale => scale
.EndAngle(180)
.MajorUnit(10)
.Max(100)
.Min(0)
.MinorUnit(1)
.StartAngle(0)
.Ranges(ranges => {
ranges.Add().From(0).To(90).Color(
"#f00"
);
ranges.Add().From(90).To(95).Color(
"#ffa500"
);
ranges.Add().From(95).To(100).Color(
"#0c0"
);
}
)
)
)
01.
@(Html.Kendo().DropDownListFor(model => model.FixedMovementType)
02.
.OptionLabel(
"* Not Selected"
)
03.
.DataTextField(
"Name"
)
04.
.DataValueField(
"Id"
)
05.
.BindTo(Model.FixedMovementTypes))
06.
@Html.ValidationMessageFor(model => model.FixedMovementType,
""
,
new
{@
class
=
"alert-error"
})
07.
@(Html.Kendo().DropDownListFor(model => model.Location)
08.
.OptionLabel(
"* Not Selected"
)
09.
.DataTextField(
"Name"
)
10.
.DataValueField(
"Id"
)
11.
.DataSource(source => source.Read(read => read.Action(
"GetLocationsRead"
,
"FixedMovement"
).Data(
"FilterLocation"
)).ServerFiltering(
true
))
12.
.AutoBind(
false
)
13.
.CascadeFrom(
"FixedMovementType"
))
1.
{
2.
Id = 0,
3.
Name =
"Employment"
4.
},
5.
{
6.
Id = 1,
7.
Name =
"Store"
8.
}
Html.Kendo().Window()
.Name("createDocWin")
.Modal(true)
.Draggable(false)
.Height(300)
.Resizable(r => r.Enabled(false))
.Events(e => e.Error("errorCreatingDoc"))
<script>
jQuery(
function
(){jQuery(
"#createDocWin"
).kendoWindow({
"refresh"
:errorCreatingDoc,
"modal"
:
true
,
"iframe"
:
false
,
"draggable"
:
false
,
"title"
:
"Created Document"
,
"resizable"
:
false
,
"content"
:
null
,
"width"
:300,
"height"
:300,
"actions"
:[
"Close"
]});});
</script>