If "Item Type" = "Credit" then "Amount" = "Percentage" * "Sale Price"
The "Amount value should be calculated, as soon as I change any of the editable field.Hey everybody!
There must be something simple that I am missing.
I currently have a template set up to render through renderMessage() which runs for every message on initialization.
Loosely based on this. Thank you Martin for this one.
https://www.telerik.com/forums/set-date-on-rendermessage-in-kendochat
The issue is that when I hit the send button and it goes into the post() method, this template no longer applies and it seems to reverts back to default.
How do I wire up my template to be used by default on send button click?
Best,
Jeff
I am using a kendoGrid bound to a SharePoint list. I am able to get the grid to work fine with pagination. The problem is that I am using large datasets so the query performance is slow due to returning the total record count. SharePoint provides a way to do paging without using a total record count. Queries return a "next" and "previous" page url (see screenshot below). I would rather use this method for the sake of performance. Is there a way to have a custom pager with just a next and previous button and set the click event of those buttons?
Hi,
I upgraded my project from 2022.1.301 to 2022.2.621 and my text inputs lost there styling.
This markup worked fine with version 2022.1.301
<input type="text" id="gebruikersnaam" name="gebruikersnaam" class="k-textbox k-input" />
With the latest version it looks like the second input from above snippet.
It displays fine when i add the css class "k-input-solid":
<input type="text" id="gebruikersnaam" name="gebruikersnaam" class="k-textbox k-input k-input-solid" />
Do i have to update all my markup , or is this a bug?
Kind Regards,
Marco
<script>
$(document).ready(function() {
// create NumericTextBox from input HTML element
$("#numeric").kendoNumericTextBox({
format: "#.00 kg"
});
});
</script>
That's Ok
but <script>
$(document).ready(function() {
// create NumericTextBox from input HTML element
$("#numeric").kendoNumericTextBox({
format: "#.00 µg"
});
});
</script>
Shows "0,00xB5" instead of "0,00 µg"
Anyone knows why or has a solution?
I'm just migrating an application to ASP.NET Core. A couple of data forms in pop-up windows use a kendo validator. This works to validate fields and highlight required fields, but the validate function is returning false even though the error count is 0.
I'm using version v2023.3.1114 of Kendo UI for ASP.Net Core.
The validation code is:-
var validator = $('#MetaDatafrm').kendoValidator({
validationSummary: true,
validate: function (e) {
var dropDowns = $(".k-dropdown");
$.each(dropDowns, function (key, value) {
var input = $(value).find("input.k-invalid");
var span = $(this).find("span.k-dropdown-wrap");
if (input.length > 0) { //if there is an input in here with k-invalid...
$(span).addClass("dropdown-validation-error");
} else {
$(span).removeClass("dropdown-validation-error");
}
});
}
}).getKendoValidator();
var x = validator.validate();
var errors = validator.errors();
//alert(errors.length);
if(errors.length==0)
{
x=true;
}
validator.showValidationSummary();
if (x == false) {
alert('Form has failed data validation. Please correct and try again');
return;
}
The form is loaded from a partial view loaded by:-
function editMetaData(rID, rs) {
srcFilter=rs;
var wind = $('#wndMetaDataEdit').data("kendoWindow");
$('#btnSave').removeProp("disabled");
$('#errorMsg').hide();
wind.refresh({
url: "@Url.Content("~/Home/EditMetaData?reportID=")" + rID + "&src=" + rs
});
wind.center();
wind.open();
}
This code did work in a previous version (v2023.2.718) but that was ASP.NET MVC, not .Net core.
Hi,
Currently I am maintaining a couple of different versions of a project. The selectable option is working but the colors when a row is selected are off a bit:
Here is the older version of Kendo UI for jQuery (2020.3 SP1):
The newer version of Kendo (2023.3 SP1) changed the color, and it works nicely with my child grids:
How can I change the older Kendo UI so it looks more like the newer version? So when selected the background color changes enough that the letters are visible in front of the background color? I am guessing there is a way to do this via a cascading style sheet?
P.S. Here is a DOJO with my code:
https://dojo.telerik.com/@georgeg@pipkins.com/aZAwIRaX
Regards,
George