We see a lot of samples in the demo pages.
However, we would like to see them in action and download the fully functional demo on localhost.
On Git I didn't found the samples. Is there, and, if is, where, the sources for ASP.NET compoentnts.
I wonder especially for a sample example of DataGrid, like this one https://demos.telerik.com/aspnet-core/grid/editing-custom
.NET 5 (CORE) for RazorPages, by example
Hello,
I use a Tabstrip in a Grid Editor Template and want to load the the Content with LoadContentFrom and Parameters like:
tab.Add().Text(
"Profile (0)"
).LoadContentFrom(
"GetPartialView_frmMitgliedaktprofileEdit"
,
"Mitgliedakt"
,
new
{ mitgliedid = Model.Mitglied_ID, aktid = Model.Akt_ID });
The Problem to have aTabstrip in the grid template is that I cannot access the model values:
new { mitgliedid = Model.Mitglied_ID, aktid = Model.Akt_ID }
How can I load the Content of a tab with Parameters on the Client (reload?) or how to pass the two Parameters for loading if the tab is klicked
(I think it must be on the Client with javascript)
robert
Hey guys,
I'm using the PanelBar for side navigation. For describing my issue the following simple setup should work too.
@(Html.Kendo().PanelBar()
.Name("panelbar")
.ExpandMode(PanelBarExpandMode.Multiple)
.Items(panelbar =>
{
panelbar.Add().Text("Home").Action("Index", "Home");
panelbar.Add().Text("Offers")
.Items(offers=>
{
offers.Add().Text("Show").Action("Index", "Offers");
});
})
)
Each item in the PanelBar is connected to an action. When loading "/Home/Index" the selected item in the PanelBar after loading the page is the first item "Home". It works like expected.
But when loading "/Offers/Index", there will be nothing selected in the PanelBar. So in the end only the items in the highest item level are selected by it's action. You can see it when putting the "Offers/Index" directly under "Home/Index".
panelbar.Add().Text("Home").Action("Index", "Home");
panelbar.Add().Text("Offers").Action("Index", "Offers");
Currently I'm using "2021.2.616". I know from a previous project that this behavior wasn't yet in version "2021.1.119". There the subitems were also selected if the current url matched the href of the item.
Maybe a bug?
The ASP.Net Core project is using the Kendo grid.
On selection of a dropdown's, item needs to perform a action on all the selected rows (using checkbox checked) .
how to accomplish it.
I am using the Core Grid with grouping. I am grouping on a field called "ClassOrder", but would like to display the name of the field called "Class" in the template. The desired order of display is not alphabetical, but driven by that "ClassOrder" column.
What is the syntax to use in the group header template to refer to other fields in the row?
Thx!
Hello guys,
is it possible to display a warning on the scheduler when Update action is triggered? It happens often that users change the dates by mistake when using scheduler (they drag and drop or expand).
Thanks.
I have a slider on a page set to a min/max of 0 and 100. The min/max of this slider is variable and changes depending on what a user has selected in a dropdownlist. For example, when the user selects an item in the dropdownlist, I change the slider's min/max value of 10 and 50 using setOptions.
var slider = $("#slider").data("kendoSlider");slider.resize();
This seems to work as the slider updates to the properties I set in setOptions. But after I do this, it doesn't consistently let me jump to a value in the slider. For example, if I try to click the slider line at 40, the slider won't move to it. Sometimes it will, sometimes it won't. If I drag the slider ball to a number it works fine, if I user the increase/decrease arrow buttons it works fine. But clicking on a number in the slider bar does not work.
- This jumping to a number in the slider works fine before I dynamically change the properties using "setOptions".
- This problem occurs regardless of what property in the slider I change using "setOptions".
Any ideas? Thanks.
Hi,
I am trying to change the culture for the PDFViewer page of the AspNet.Core example, but it is not working. I have searched this forum and all the documentation available with no success. This is the code I am puting at the beginning of the page:
@section scripts{
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/2.2.2/pdf.js"></script>
<script>
window.pdfjsLib.GlobalWorkerOptions.workerSrc = 'https://cdnjs.cloudflare.com/ajax/libs/pdf.js/2.2.2/pdf.worker.js';
</script>
<script src="~/lib/kendo/js/jquery.js"></script>
<script src="~/lib/kendo/js/kendo.all.min.js"></script>
<script src="~/lib/kendo/js/cultures/kendo.culture.pt-BR.min.js"></script>
}
<script type="text/javascript">
//set the Kendo UI culture
kendo.culture("pt-BR");
</script>
It should work, but the page still shows up with the english language.
I would appreciate any help.