1. Is it hard to understand the version numbers of our releases? If yes, what makes them hard to understand them?
2. Would semantic versioning (SemVer) of our releases make it easier to understand our version numbers and what's behind them?
3. If we go with SemVer, we might need to start with version 3000.0.0 as we currently use 2022.x.x. Please share your thoughts about this approach and ideas for what number versioning would work best for you.
Hi!
The ListView is breaking my web application, and I cannot make head or tail of the reason:
Kendo.Mvc.UI.ListView<T>.VerifySettings()
Also, you demos for the ListView are broken and the browser tab crashed after a while.
I need an urgent fix, as this is affecting the live application.
In our UI for ASP.NET Core R3 2020 (2020.3.915) release, the Column menu message of unsticking a column is "null".
This bug will be resolved in our next official release.
In the meantime, as a workaround, manually set the Unstick Column menu message:
.ColumnMenu(c => c.Messages(m => m.Unstick(
"Unstick Column"
)))
Kendo Treelist with Column Menu filter, Dropdowns and DatePicker is not showing fully. Its hiding and while scrolling also not working properly
https://netcorerepl.telerik.com/wzOWuMaW50DO1PTf30
Hi Team,
Can we use 2020.1.114.440 kendo MVC dll in .net core application I am using same in .net framework 4.7.2.
Thanks & Regards
Amar Deep
The code below does not hit the read function so the details shows every detail row for each of the outer rows.(There should only be one detail row per outer row) I am following this example here: ASP.NET MVC Grid Detail Template Demo | Telerik UI for ASP.NET MVC which I use basically the same syntax for it and for an unknown reason theirs works and mine doesnt. My Javascript console gives me a 500 error which doesnt provide me with any way to resolve. Ive commented out stuff in the outer grid as I populate in the get method anyway. Can someone please look into this?
Outer grid:
<div id="RelatedAppearances-scheduling" style="margin-right:8px;border:none;padding:0;color:black; padding-bottom: 20px;">
<div id="RelatedAppearancesTopRowInfo" >
<div id="RelatedAppearances-Grid" style="width:99%;">
@Html.Kendo().Grid(Model.RelatedAppearanceList).Name("RelatedAppearancesGrid").Size(ComponentSize.Small).Editable(GridEditMode.PopUp).Resizable(r => r.Columns(true)).ToolBar(r =>
{
r.Create().Text("Add Appearance");
}
).Columns(col => {
col.Bound(c => c.FileNumber).Title("File Number").Width(175);
col.Bound(c => c.CourtDate).Title("Court Date").Width(150);
col.Bound(c => c.CourtTime).Title("Court Time").Width(150);
col.Bound(c => c.Purpose).Width(100);
}).Sortable().DataSource(dataSource => dataSource
.Ajax()
// .Read(r => r.Url("/Appearances/SchedulingInformation?handler=ReadEntity").Data("forgeryToken"))
// .Update(r => r.Url("/Appearances/SchedulingInformation?handler=UpdateEntity").Data("forgeryToken"))
// .Destroy(r => r.Url("/Appearances/SchedulingInformation?handler=DestroyEntity").Data("forgeryToken"))
// .Model(model =>
// {
// model.Id(p => p.AppearanceID);
// })
).ClientDetailTemplateId("RelatedAppearancesDetail");
</div>
</div>
</div>
Javascript detail grid:
<script id="RelatedAppearancesDetail" type="text/kendo-tmpl">
@(Html.Kendo().Grid(Model.RelatedAppearanceList).Name("innergrid_#=AppearanceID#")
.Columns(columns =>
{
columns.Bound(o => o.AppearanceDetails.AppearanceJudge).Title("Judge").Width(80);
columns.Bound(o => o.AppearanceDetails.AppearanceType).Title("Appearance Type").Width(80);
columns.Bound(o => o.AppearanceDetails.Outcome).Title("Outcome").Width(80);
columns.Bound(o => o.AppearanceDetails.ToTH).Title("To T & H").Width(80);
})
.DataSource(dataSource => dataSource
.Ajax()
.Read(read => read.Action("ReadRelatedAppearanceDetail", "Grid", new { AppearanceID = "#=AppearanceID#" })))
.Sortable()
.ToClientTemplate())
</script>
Razor method:
public JsonResult ReadRelatedAppearanceDetail(int AppearanceID, [DataSourceRequest] DataSourceRequest request) { var curAppearance = RelatedAppearanceList.Where(a => a.AppearanceID == AppearanceID).FirstOrDefault(); return new JsonResult(new[] { curAppearance }.ToDataSourceResult(request, ModelState)); }
Related Appearance Model:
public class RelatedAppearanceDTO { public int AppearanceID { get; set; } public string FileNumber { get; set; } public string CourtDate { get; set; } public string CourtTime { get; set; } public string Purpose { get; set; } public string AppearanceType { get; set; } public string CalendarRemarks { get; set; } public string Outcome { get; set; } public string OutcomeComments { get; set; } public string ToTAndH { get; set; } public RelatedAppearancesDetailModel AppearanceDetails { get; set; } }
Related Appearance Detail Model:
public class RelatedAppearancesDetailModel { public int AppearanceID { get; set; } public string AppearanceJudge { get; set; } public string AppearanceType { get; set;} public string CalendarRemarks { get; set; } public string Outcome { get; set; } public string OutcomeComment { get; set; } public string ToTH { get; set; } public string Minutes { get; set; } public string Disposition { get; set; } }
Hi, I'm referring to the article below:
In the article Asynchronous Mode Fallback is When Upload which is placed inside a form and configured for asynchronous operation.
I have done this, however after uploading some file (and failed since I didn't implement the controller) the form post still doesn't contain any Files.
Is there a specific to implement a fallback mechanism? a sample will be very helpful.
I have a nullable DateTime property in my view model, and I'm binding it to a DatePicker, with a custom date format like so:
@Html.Kendo().DatePickerFor(model => model.MyNullableDateTimeField).HtmlAttributes(new { @class = "form-control" }).Format("MM/dd/yyyy").ParseFormats("MM/dd/yyyy", "yyyy-MM-dd").DateInput(true)
However, it displays like this:
And when I try to submit the form, I get a model validation error: "The value 'month/day/year' is not valid for <my property name>", and it is not possible for me to clear the text from the control at all.
If I input a valid date, it does submit correctly, but I need to be able to have a null value here. I tried
$("#MyNullableDateTimeField").data("kendoDatePicker").value(null) but that did not work. (also tried .val instead of .value)
Also, if there is anyway to have the DatePicker control submit the value in the more standard yyyy-MM-dd format, and just display it in the custom format, I would very much like to know that as well, as it would save me a lot of trouble. I don't understand why it submits a raw string in the "MM/dd/yyyy" format when a standard <input type="date"> will submit in a yyyy-MM-dd format and just display the value in the regular format.
Thanks!
hi, I'm using a combobox like the one below, when the model already has a country assigned, the combobox shows the Id instead of the Name.
At page load I can see that the URL Countries is requested, however this doesn't make a difference.
so the question is, how can I to set the initial value?. I've read examples but they all use a local datasource with bind-to, not a remote datasource. is this possible?
regards
<kendo-combobox for="CountryId" suggest="true"
datatextfield="Name"
datavaluefield="Id" filter="FilterType.Contains">
<datasource server-filtering="true">
<transport>
<read url="@Url.Action("Countries", "Common")"/>
</transport>
</datasource>
</kendo-combobox>
Good afternoon,
Is there a way to populate a second grid based on the outcome of the read action for the first grid?
For example, the read action for grid1 pulls a list of files from the file system in and runs checks against each file. The list generated is returned to load grid1. During the processing a number of errors are generated, creating a second list. Ultimately I'd like grid2 to display that list.
It seems unnecessary to have a separate action for grid2 that is essentially running the same processing, just returning a different list.
With the two grids having AutoBind set to false I assume I can control the order the girds are populated. Could grid2 be populated from a list stored in ViewData?
This article explains how two models can be returned to a single View, but ToDataSourceResult in the Controller can only return one model:
https://www.c-sharpcorner.com/UploadFile/ff2f08/multiple-models-in-single-view-in-mvc/
Kind regards,
Richard