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>);
})
I see that as promised for the Q3 3016 release, the kendoSpreadsheet now has support for defined names in the UI, and that these names are preserved in the client-side toJSON() method of the kendoSpreadsheet.
Is there any chance we could get support for defined names in the Telerik.Web.Spreadsheet.Workbook object? We've tried
Telerik.Web.Spreadsheet.Workbook.Load(Stream input, string extension)
and
Telerik.Web.Spreadsheet.Workbook.FromDocument(Telerik.Windows.Documents.Spreadsheet.Model.Workbook dplWorkbook)
but any defined names in the source are stripped out. I guess this is because the Telerik.Web.Spreadsheet.Workbook doesn't even have a public Names collection. This issue also prevents a client-generated Workbook from being passed to an MVC method: the MVC binder simply doesn't map properties that aren't public.
The net result is that developers can't take an XLSX file from the file system and render it accurately in the kendoSpreadsheet UI, nor can they round-trip it.
http://dojo.telerik.com/IGujU/3
How to make it so the hint can only be moved within the boundaries of the parent?
And how to autoscroll if I have a very long list, like i'm dragging the last item and when the hint is on top most of the visible viewport it will scroll up?
Hi,
I'm building SPA using kendo ui and angularjs for client-side and asp.net web api for server-side. Customer wants server paging, filtering and sorting in grids. I know, how to configure kendo grid, so I only need to implement it on my server.
I found solution to use .ToDataSourceResult() with the DataSourceRequest parameter, but the problem is that I'm not using entity framework for all db stuff - the requirement is to use dapper https://github.com/StackExchange/dapper-dot-net, so I should generate sql queries on the fly.
Are there some code samples or even already written components for this scenario?