Hello
I used Upload tool to upload person image, I put an HTML Image element beside the Upload image tool, I want to display the image after upload it.
I invoke .Success event for upload tool and used a javascript function to set the src attribute for the image element with the uploaded image path.
This is the Image element
<img id="imgPerons" src="" width="200" height="250">This is the javascript function:
function onSuccess(e) {
var files = e.files[0];
if (e.operation == "upload") {
document.getElementById("imgPerson").src = "~/images/person_photos";
}
}I think I have a problem with the path of the image, because I tried to used online images like the following, It works fine
function onSuccess(e) {
var files = e.files[0];
if (e.operation == "upload") {
document.getElementById("imgPerson").src = "https://www.xxx.com/image.jpeg";
}
}What's the wrong with the path of the image?
I saved uploaded image in wwwroot/images/person_photos ,
The Image element and the javascript function in the path Views/Home/Index.cshtml
Any Help

Hi,
I'm working on develop web application using MVC Core. One of the view will contain around 90 accounts that allow users to enter the number in the 2 years columns of Labor and other (total of 4 columns) when users enter the number in one of column, it should add the labor and other amount to total for that year and update the sub category group (may contain up to 10 groups) plus sum of footer for grand total for all groups.
I try to use Kendo Grid (GridEditMode.InCell) to do the job and write some codes to save to database. The users want to have Total and sub total change as soon as they are changed the number plus have the all text box display when they load the page. Do you have any recommendation what is the better tools or widgets to use to handle all these requirement? I attached the sample of view layout below.
Thank you for your help.
Hi,
I'm using RecurrenceEditorFor without scheduler. How can I get values ReccurenceRule and RecurrenceID and pass to controller?
@(Html.Kendo().RecurrenceEditorFor(model => model.RecurrenceRule)
?
?
Regards
Frank
Hi,
i have a cascading dropdown list inside grid. when i click ass row and when i click 2nd drop down able to load data without selecting first dropdown. so here first i want to disable 2nd dropdown and after selecting 1st drop down i want to enable 2nd dropdown with the values depends on first drop down.

Hi,
here i want to display alternate colors with different color for new row inside kendo grid incell edit mode.

Hello
I used Telerik UI for ASP.NET MVC Grid to perform CRUD operations and manipulate its data in Popup mode. I create a template to customize the Popup window .. Until now every things works fine except the binding in the drop down list .. I followed exactly this demo but unfortunately the drop down list won't to populate.
Also, When I want to used a foreignkey column in Grid as below, I got "Value can not be null" error :(
columns.ForeignKey(p => p.category_id, ds => ds.Read(r => r.Action("GetCategories", "Home")), "id", "name").Title("Category");I attached sample project having the issue.
Any Help Please

I have a stranger issue, The Kendo Grid for ASP.Net MVC work as expect except when I added any event for ant tool in the popup template, The popup window opens in the same page not poping up
Any Idea?
Hi,
I have a Kendo Editor control on one of my pages which I've enabled the "paste cleanup" feature on with the flags "all" and "css" but when I copy/paste content with HTML tags and inline CSS styles into it, those tags/styles are not being removed as expected.
This can be seen on the paste cleanup feature demo page - https://demos.telerik.com/kendo-ui/editor/paste-cleanup when pasting in the following HTML snippet
<h1 style="text-align:center;"><strong>The simple way to get a brand new bike, make huge savings and spread the cost</strong></h1>
I've tried various combinations of the options available on that page but nothing works so is there a way of achieving the expected result?