hello,
This probably is not Kendo problem , but I am hoping someone has a suggestion.
I am using Visual Studio 2019 ver.16.1.15 , creating a ASP.NET MVC core 2.2 Application, with , and Cosmos DB datastore.
Scheduler Events are created in the this controller/action : .Create(create => create.Action("Create", "Crud"))
Recently I found 19,000 duplicate events, and I am trying to track down the root cause.
Is the controller/action being called over and over?
Or is Cosmos DB doing something unintended ?
Any ideas?
Thanks,Peter
Hi.
I created custom editing popup and use it to insert na new element into Kendo Grid.
The ViewModel of this grid elements contains a Array so my popup template contains another grid with i whant tu use to fill the array in the viewModel but have no idea how to achive this. I know I have bind the grid with "ConfiguratorAttributs" array but I don know how i can do this.
The Careate method of my "Parent" grid always call my Controller passing ViewModel with null ConfiguratorAttributs element.
Can anyone help me deal with this?
Hello Telerik,
I am using UI for ASP.NET Core (2019.1.220) and in my .cshtml I'm creating a ListView that I want to be endless scrollable.
As you can see from the attached image, it seems that both the Scrollable method and the ListViewScrollableMode enum are not found.
Am I missing some reference or using directive?
Thank you,
Maurizio
The code showing how to return json to the client is missing in the autocomplete examples
using Microsoft.AspNetCore.Mvc;
Hello,
I would like to ask if it's possible to group DropDownListFor options as it is described in this link (https://demos.telerik.com/aspnet-core/dropdownlist/grouping), but for DropDownListFor?
Thank you.
e.g. How can I group my dropdown options by LineOfBusinessCategory?
@(Html.Kendo().DropDownListFor(m => m.CompanyHasLineofBusiness.LineOfBusinessID)
.DataTextField("LineOfBusinessName")
.DataValueField("LineOfBusinessID")
.FixedGroupTemplate("LineOfBusinessCategory")
.DataSource(source =>
{
source.Custom();
source.ServerFiltering(true);
source.Read(read =>
{
read.Action("LineOfBusinessNameList", "Midas").Type(HttpVerbs.Post);
});
})
.HtmlAttributes(new { style = "width: 100%", @validationMessage = "Mandatory" })
)
hi,
I am following this example: https://docs.telerik.com/kendo-ui/controls/navigation/buttongroup/overview
After i added the buttongroup, i got 185 errors. . Is something wrong with my DIV tag ?
<div class="demo-section" style="width: 250px;">
@(Html.Kendo().DropDownList()
.Name("usagedd")
.DataTextField("Text")
.DataValueField("Value")
.DataSource(source =>
{
read.Action("GetPlanesDropDown", "Crud");
});
})
.HtmlAttributes(new { style = "width: 30%" })
)
<ul id="buttongroup">
<li>Option 1</li>
<li>Option 2</li>
<li>Option 3</li>
</ul>
</div>
I'm wondering if this idea I've had is possible, and if so, how to go about implementing it.
Basically, I have a Controller that pulls data out of a MySQL database using Dapper, and a View that is composed of a bunch of grids. All these grids have an Action Method in the controller that is responsible for sending the pulled data over to the grids. Once the data has been loaded into these grids, there are checkboxes next to everything for a user to make selections.
The end goal is to generate a PDF file utilizing the data that the user has selected. I've been looking into libraries that would aid in this PDF generation, and I'm wondering if there is a way to pass the selected data back to the controller in order to utilize a C# library for this task of PDF Generation. Otherwise, I will look into JavaScript libraries in order to implement this. Any suggestions would be much appreciated. Thanks!
Hello,
I am wondering if there is any way to customize the DateRangePicker to allow for it to have the two calendar months stacked vertically when it is opened. I am looking to use the range picker in a sidebar on my page and it would fit much better vertically than the default horizontal.
Thank you
Can someone advice how do I include anti forgery token and parent ID in the hierarchical grid?
<script id="template" type="text/kendo-tmpl">
@(Html.Kendo().Grid<TransactionRevenue>()
.Name("Grid_#=ITransactionId#")
.Columns(columns =>
{
columns.Bound(o => o.InvoiceToName).Title("Receive From").Width(450);
columns.Bound(o => o.Amount).Format("{0:c}").Width(200);
})
.DataSource(dataSource => dataSource
.Ajax()
.ServerOperation(false)
.Read(read => read.Action("HierarchyBinding_Orders", "Grid", new { TID = "#=ITransactionId#" })) //****Need to include token here
)
.Sortable()
.ToClientTemplate()
)
</script>
somehow my scheduler controller has a bad appearance (see picture)
Do i need to apply a theme or css class ?
this is my cshtml code:
@(Html.Kendo().Scheduler<SkyApp.Models.CosmosDB.ScheduleViewModel>()
.Name("scheduler")
.StartTime(new DateTime(2019, 1, 1, 6, 00, 00))
.Height(600)
.Width(800)
.Views(views =>
{
views.MonthView(w => w.Selected(true));
views.DayView();
views.WeekView();
views.WorkWeekView();
})
.Timezone("Etc/UTC")
.DataSource(d => d
.Events(e => e.Error("onError"))
.Model(m =>
{
m.Id(f => f.EventId);
m.RecurrenceId(f => f.RecurrenceId);
})
.Read(read => read.Action("Schedules_Read", "Crud"))
.Create(create => create.Action("Schedules_Create", "Crud"))
.Update(update => update.Action("Schedules_Update", "Crud"))
.Destroy(destroy => destroy.Action("Schedules_Destroy", "Crud"))
)
)