
The code below works fine. I need to add a column to the grid that shows an image
(bound or not bound I don't care as long as the image shows and not the model property).
The new column should launch a Kendo Window widget with a string property of the model
serving as the input content of the Kendo Window. The property on the model might be something like
model.FailureMessage.
Thanks,
Html.Kendo().Grid(Model.AppointmentList).Name("FailedAppointments")
.Columns(columns =>
{
columns.Bound(o => o.MemberFirstName).Title("Member First Name").Width(50);
columns.Bound(o => o.MemberLastName).Title("Member Last Name").Width(50);
columns.Bound(o => o.ClientMemberID).Title("Client ID").Width(50);
columns.Bound(o => o.ProviderID).Title("Provider ID").Width(50);
columns.Bound(o => o.ProviderFirstName).Title("Provider First Name").Width(50);
columns.Bound(o => o.ProviderLastName).Title("Provider Last Name").Width(50);
columns.Bound(o => o.AppointmentDate).Title("Appointment Date").Width(50);
columns.Bound(o => o.IHAAppointmentID).Hidden(true);
})
.Pageable(pager => pager.PageSizes(true))
.Sortable(sorting => sorting.SortMode(Kendo.Mvc.UI.GridSortMode.SingleColumn))
.Scrollable(scrolling => scrolling.Height(300))
.TableHtmlAttributes(new { Class = "dataGridTable" })

There is censored network in Mainland China. Everything from the servers which are not in Mainland China is slow.
So if I want to improve the static files' loading performance, can I put the Telerik's static files(include the themes) on our own CDN, which files should we do?
Hi,
Our DatePicker's Validation Message is overlapping with the DatePicker's input. I attached an image of the problem.
It seems that the <span> element containing the validation message is in the wrong location for the DatePicker. On the same page we have a ComboBox, which has the validation <span> element one level higher than the DatePicker. I tried this in Chrome and moved this element:
<span class="k-widget k-tooltip k-tooltip-validation k-invalid-msg field-validation-error" data-for="SubscribeTill" data-valmsg-for="SubscribeTill" id="SubscribeTill_validationMessage" role="alert">
up one level, from inside this element:
<span class="k-picker-wrap k-state-default">
to inside this element:
<span class="k-widget k-datepicker k-header">
And after this, it seems to work exactly like the ComboBox.
It seems this is a bug, but we kind of need this working right now. Is there a way we can move this span manually?
Sincerely,
Tim

I am trying to use the Kendo DatePicker from code generated and rendered into the view, I can make it work when part of the cshtml
e.g.
In cshtml:
@(Html.Kendo().DatePicker().Enable(!Model.ReadOnly).Name("DatePick").Value("12/25/2017").HtmlAttributes(new { style="width: 10% ", title="datepicker" }))
works fine.
when rendering from
result.Append("@(Html.Kendo().DatePicker().Enable(" + !ReadOnly + ").Name(\"a" + PrimKey + "\").Value(\"" + theDate + "\").HtmlAttributes(new { style=\"width: 10%\", title=\"datepicker\" }))\r\n");
I just get the text and no control.
I am using the code generation for all my controls on the page as it is dynamic and not a preset layout
I have here a MENU which would show partial views as the content.
<div class="panel-body"> <div id="row_menu" class="row" style="margin-top: -15px;"> @( Html.Kendo().Menu() .Name("Menu_PatientDetails") .Items(items => { items.Add().Text("Patient Information").Selected(true).Enabled(false); items.Add().Text("Insurance").Enabled(false); items.Add().Text("Visits").Enabled(false); items.Add().Text("Notes").Enabled(false); items.Add().Text("Documents").Enabled(false); }) .Events(e=>e.Select("openPatientDetails")) ) </div> <div id="PatientInformationPanel"> @Html.Action("ShowPatientInformation", "Patient") </div> <div id="PatientInsurancePanel" class="hidden"> @Html.Action("ShowPatientInsurance", "Patient") </div> <div id="PatientYearPanel" class="hidden"> @Html.Action("ShowPatientYear", "Patient") </div> <div id="CasesPanel" class="hidden"> @Html.Action("ShowPatientCases", "Patient") </div> <div id="PatientDocumentPanel" class="hidden"> @Html.Action("ShowPatientDocuments", "Patient") </div></div>
function openPatientDetails(e) {

I am trying to add a DDL to a toolbar template, I have tried all sorts , including simple text in the toolbar.
But when I add the template , I always get a syntaxthe character befor the ampersand (@<text> as if the toolbar.template does not like the string as a paramater. What could be wrong here .
My current code is below
I have tried simple divs with text and other things , but the issue is always the same.
.ToolBar(toolbar =>
{
toolbar.Template( @<text>
<div class="toolbar">
@(Html.Kendo().DropDownList()
.Name("CityId")
.DataTextField("Name")
.DataValueField("Value")
.OptionLabel("Select City...")
.DataSource(source => source
.ServerFiltering(true)
.Custom()
.Transport(transport => transport
.Read(read =>
{
read.Url("/Api/Common/_GetCity/2")
.DataType("json");
})
)
)
)
</div>
</text>);
})

