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"
)))
I have set up a form component and specified an action - however when debugging I can see that the form seems not to be posting to the action I have specified.
This is the form code :
@(
Html.Kendo().Form<Customer>()
.Name("portalForm")
.HtmlAttributes(new { action = "EditPortal", method = "POST" })
.Items(items =>
{
items.Add()
.Field(f => f.CustomerId)
.Editor(editor => editor.Hidden());
items.Add()
.Field(f => f.Customer_Guid)
.Editor(editor => editor.Hidden());
items.Add()
.Field(f => f.AppId)
.Editor(editor => editor.Hidden());
items.AddGroup()
.Label("Settings")
.Layout("grid")
.Grid(g => g.Cols(4).Gutter(20))
.Items(i =>
{
i.Add()
.Field(f => f.CostCentresActive)
.Label(l => l.Text("CostCentresActive:").Optional(true))
.Editor(e =>
{
e.Switch()
.Messages(c => c.Checked("YES").Unchecked("NO"));
});
i.Add()
.Field(f => f.CostCentreHide)
.Label(l => l.Text("CostCentreHide:").Optional(true)).Editor(e =>
{
e.Switch()
.Messages(c => c.Checked("YES").Unchecked("NO"));
});
i.Add()
.Field(f => f.CustomTextActive)
.Label(l => l.Text("CustomTextActive:").Optional(true)).Editor(e =>
{
e.Switch()
.Messages(c => c.Checked("YES").Unchecked("NO"));
});
i.Add()
.Field(f => f.DepartmentsActive)
.Label(l => l.Text("DepartmentsActive:").Optional(true)).Editor(e =>
{
e.CheckBox();
});
});
})
)
The rendered html seems to suggest it will post to the EditPortal action, but when I click submit it posts to the Edit action which is what rendered the page with the form on in the first place.
It is a little complicated by the fact that my form component is inside a partial view, which in turn is in a tabstrip on the main Edit view.
I am probably overlooking something very simple here!
Thanks
If I place a simple Kendo Button in the partial page it shows fine, but the button group does not show at all. The developer tools and debugging shows everything to be correct and the partial view is being returned via return PartialView(partialViewName); from the controller.
This is driving me crazy. Is this a known issue? There are no errors in the console/developer tools. It is specific to the Kendo Button GROUP.
Please help...thanks!
The view that contains the partial view:
@using Kendo.Mvc.UI
@{
Layout = "~/Views/Shared/_Layout.cshtml";
}
<div style="max-width:45rem;">
<div>Administrative Areas</div>
<div id="buttonGroup">
@(Html.Kendo().ButtonGroup()
.Name("adminButtonGroup")
.Items(t =>
{
t.Add().Text("Personal").HtmlAttributes(new { onclick = "loadPartial('_Admin')" });
t.Add().Text("Predefined").HtmlAttributes(new { onclick = "loadPartial('_Admin')" });
t.Add().Text("Regions").HtmlAttributes(new { onclick = "loadPartial('_Admin')" });
t.Add().Text("Flags").HtmlAttributes(new { onclick = "loadPartial('_Admin')" });
})
)
</div>
</div>
<div id="adminPartial" class="mt-2">
</div>
<script>
$(function () {
// Set the first button as active by default
$("#adminButtonGroup").data("kendoButtonGroup").select(0);
});
function loadPartial(partialViewName) { //clickedElement
var targetDiv = document.getElementById("adminPartial");
console.log(targetDiv.innerHTML);
fetch('/Home/LoadPartialView?partialViewName=' + partialViewName)
.then(response => response.text())
.then(html => {
targetDiv.innerHTML = html;
console.log("partial view html:" + html);
})
.catch(error => {
console.log('Error:', error);
});
}
</script>
Contents of the _Admin partial View: (does not display):
@using Kendo.Mvc.UIHome Controller Action:
public IActionResult LoadPartialView(string partialViewName)
{
if (string.IsNullOrEmpty(partialViewName))
{
return BadRequest();
}
return PartialView(partialViewName);
}
I am currently trialing the products to see if I can get them to do what I need for an app under development.
In my app I have a grid that lists all of a customers active products.
I want to be able to click on an item in the grid (link or button) to launch a modal dialog where I can display in depth info regarding that item - the popup itself would need to have tabstrip and perhaps one or two grids on itself.
So I obviously need to design a view to display all this info which is fine, and I assume the Window component is the most suitable to effect the popup?
I can't seem to find a concrete example of how to call the window from the initial grid, pass the parameter of the selected item, and then load the view within the window.
As I say I am new to all this so feeling my way a little and so any guidance is greatly appreciated.
Thanks
Hello,
We are having scrolling issues with the fairly large menu and sub menu items. Instead of scrolling child menu items on selection, it scrolls the main menu options.
Please advise.
function onChangesideMenuSwitch(e) {
var menuContainer = $("#menuContainer");
var mainSection = $("#mainSection");
if (!e.checked) {
menuContainer.hide();
menuContainer.css("width", "0");
menuContainer.css("z-index", "-1");
mainSection.css("padding-left", "0");
}
else {
menuContainer.show();
menuContainer.css("width", "250px");
menuContainer.css("z-index", "3");
mainSection.css("padding-left", "250px");
}
}
@model Models.Menu.TopMenuModel
@{
string pathBase = (string)ViewBag.PathBase;
}
<style>
#menuContainer {
width: 250px;
overflow: visible;
display: block;
z-index: 3;
height: calc(100% - 100px);
background-color: white;
float: left;
flex: none;
position: fixed;
top: 100px;
margin-bottom: 10px;
}
.menuSeperator {
padding: 2px;
background-color: var(--cwru-blue);
border-style: solid;
border-width: 1px;
}
.menuSeperator > .k-menu-link-text {
font-style: italic;
color: whitesmoke;
white-space: normal;
}
.menuItem {
font-style: italic;
color: whitesmoke;
background-color: var(--cwru-blue);
}
.menuExpandable {
color: var(--cwru-blue);
white-space: normal;
min-width: 200px;
}
.k-menu, .k-menu-link-text {
font-size: 16px;
color: black;
padding: 2px;
}
</style>
<script type="text/javascript">
$(document).ready(function () {
$("#leftMenu").height(window.innerHeight - 120)
$(window).resize(function () {
$("#leftMenu").height(window.innerHeight - 120)
});
});
</script>
<div id="menuContainer">
@(Html.Kendo().Menu()
.Name("leftMenu")
.HoverDelay(200)
.Orientation(MenuOrientation.Vertical)
.Direction(MenuDirection.Right)
.Scrollable(true)
.Items(items =>
{
foreach (var menuEntryGroup in Model.AllowedPages.Where(ap => ap.parent_id == null).GroupBy(ap => ap.menucategory_id))
{
//menu category
items.Add().Text(menuEntryGroup.First().menucategory.name)
.LinkHtmlAttributes(new { @class = "menuSeperator" }).HtmlAttributes(new { @class = "menuItem" });
foreach (var menuEntry in menuEntryGroup)
{
//top level items.
items.Add().Text(menuEntry.name).Url((pathBase == "/" ? "" : pathBase) + "/" + menuEntry.controller + "/" + menuEntry.Viewer)
.Items(subitem =>
{
foreach (var subentry in Model.AllowedPages.Where(ap => ap.parent_id == menuEntry.id))
{
//second level items
subitem.Add().Text(subentry.name).Url((pathBase == "/" ? "" : pathBase) + "/" + subentry.controller + "/" + subentry.Viewer).LinkHtmlAttributes(new { @class = "menuExpandable" })
.Items(subsubitem =>
{
foreach (var subsubentry in Model.AllowedPages.Where(ap => ap.parent_id == subentry.id))
{
//third level items
subsubitem.Add().Text(subsubentry.name).Url((pathBase == "/" ? "" : pathBase) + "/" + subsubentry.controller + "/" + subsubentry.Viewer);
}
});
}
});
}
}
})
)
</div>
We are looking to display total number in donut chart.
Is it possible?
Number display in the center should display total when we do not mouse hover over any section of donut.
But if hover over any section, it should show that particular number in center. Look at image below.
Hi,
I am quite new in working with Telerik and the current project that I am working is an MVC project that uses Telerik UI components for the frontend.
What I am aiming for is having several Views with each of them implementing a grid component. In the grid I have imported a list of items that can each be edited and deleted. The editing functionality uses the pop up component. However, the client is requesting that when the edit pop up opens the process of editing would be divided into two different windows/tabs meaning that in the pop up the user could navigate back and forth. That is because the entities that are being editing are large so for a more user friendly solution the client wants to divide the editing process.
So far I have not yet come across a straight forward solution to implement something like this. When in comes to implementation for a simple one tab Pop up it seems simple however if I want to introduce several tab solution, it seems to be easier to just go pure javaScript way as I am struggling mixing Telerik and my own scripts.
I hope I making my issue clear! I would like apologize if this seems like non-problem for the pros, cause unfortunately I am not one...
Regards
Juste
Hi,
Were looking into using the PDF viewer and wonder whether it's possible to render a PDF server-side? I understand that using pdf.js is obviously rendering client-side, but can you tell me if I use the document processing library whether it does indeed render server side?
If it does can you tell me if this scenario is supported in .Net 8.0?
I'm a bit confused because in the PDF viewer documentation here: https://docs.telerik.com/aspnet-core/html-helpers/pdf/pdfviewer/dpl-processing it says "To use DPL Processing in a project, it must target 4.6.2 .NET Framework", but in the DPL documentation here: https://docs.telerik.com/devtools/document-processing/introduction it says "The Telerik Document Processing libraries are available in .NET Framework and .NET Standard (.NET Core) compatible versions"
So is the .Net 4.6.2 limitation just for PDF viewer or is the documentation just out of date?
Thanks!