Hello, I have an issue with a Kendo template.
This is in an ASP.NET MVC application, I open an "add new issue tracking form" and click "create" and once the data is sent to the database, it's supposed to give a little message saying everything was successful or failed or whatever. The database stuff works, but I can't get the UI to display.
First, the javascript is wrapped in a `$(document).ready()` so that's not the issue.
What happens is, the create button gets clicked, an ajax call listens to the response from the controller, and when it receives that response, it calls the following function with the appropriate data (and I've checked in the debugger, the data coming in is correct)
function promptConfirmationWindow(template, message, _transType) {
debugger;
$("<div id='popupWindow'></div>")
.appendTo("body").kendoWindow({
//..config
}).data('kendoWindow').content($(template).html()).center().open();
//..Debugging shows that the template parameter comes in correctly as "#infoTemplate"
Which can be found in the CSHTML as:
<script id="infoTemplate" type="text/x-kendo-template">
<div class="popupMessage"></div>
<hr />
<div class="dialog_buttons">
<input type="button" class="confirm_no k-button" value="Ok" />
</div>
</script>I really don't get why this keeps coming in with .html() as "undefined"
I'm wondering if the fact that this CSHTML is a partial and a modal might be a part of it? The user clicks "add new issue" and the partial with this template in it pops up as a modal, user inputs data, clicks "create" and after the data is submitted to the database and a response is retrieved by the ajax, the pop up as defined by "promptConfirmationWindow()" is supposed to appear. I'm just not figuring out why the $(template).html() is undefined.

Hi,
I couldn't add the Export to Excel feature to my Dashboard due to the system error "Excel Export in Server Binding Mode".
I am wondering if it is doable by changing my current code. (As an example, I pasted one of the Dashboard tabs that we'd like to be able to download to Excel).
Thank you!
items.Add()
.Text("LLL")
.Content(@<text>
<b>All values in $mn</b>
<div>
@(Html.Kendo().Grid(Model.LLL_Item).Name("LLL")
.Columns(col =>
{
col.Bound(c => c.Asset).Title("Asset").Width(200);
col.Bound(c => c.Current).Title("Current").Format("{0:C}").Width(100);
col.Bound(c => c.YE0).Title("Year End").Format("{0:C}").Width(100);
col.Bound(c => c.YE1).Title("Year 1").Format("{0:C}").Width(100);
col.Bound(c => c.YE2).Title("Year 2").Format("{0:C}").Width(100);
col.Bound(c => c.YE3).Title("Year 3").Format("{0:C}").Width(100);
col.Bound(c => c.YE4).Title("Year 4").Format("{0:C}").Width(100);
col.Bound(c => c.YE5).Title("Year 5").Format("{0:C}").Width(100);
})
.ToolBar(tools => tools.Excel())
.Excel(excel => excel
.FileName("Export.xlsx")
.Filterable(true)
.ProxyURL(Url.Action("Excel_Export_Save", "Reports"))
))
</div>
And in Controller I have this:
[HttpPost]Hi
We have implemented the max length validation on cells in spreadsheet control following below link. It works as it stated in the demo. We have 2 questions related to that.
1. Can we suppress the validation popup when user enters more than specified characters? It's not intuitive without the popup but it will work with my 2nd question.
2. Can we stop user from typing more than specified characters in a cell?
https://demos.telerik.com/aspnet-mvc/spreadsheet/validation
Thanks.
Jocelyn

Hi all,
We have updated the kendo to latest version ie:2021. Now we are seeing a strange behaviour like kendo pager buttons are not coming properly if the Kendo Grid is in a partial view or if it is loaded through Bootstrap Modal Dialog. In normal cases, the pager buttons are working fine.
I have attached an image. Please help me out.

Hi,
I have 2 tables
Employee
...................
EId EName
1 a
2 b
3 c
Attachments
.................................
AttachmentId Attachment Name EId
1 C:Emps/abc.pdf 1
2 C:Emps/edy.word 1
3 c:Emps/2282.jph 2
Currently my requirement is that i am going to implement file upload conttrol in mvc column grid
ex:For each row i may upload multiple files
like that i am going to do it for multiple rows
i need sample project related to my requirement
for your reference i have provided sample data
can you please help me
Hi,
I have one requirement need to implement dropdown tree in kendo ui grid using mvc
can any one provide sample code
thanks

Hi,
I have one table
Employee
..............
EId EName CompanyId's
1 a 1,2
2 b 2
2
my requirement is that need to display comma separated values in grid
can any one help me

I have a chart which, depending on a button group selection, will display a different data item in a line series. This is handled server-side, with the chart definition not needing to be changed.
However, I do need to change the name displayed on the value axis and legend name.
I can do this by using the following code:-
var specChart = $("#chortcategorytrendchart").data("kendoChart");
specChart.options.valueAxis[1].title.text = sName;
specChart.options.series[1].name=sName;
specChart.refresh();
This works, but I also need to call the chart datasource.read:-
$('#chortcategorytrendchart').data("kendoChart").dataSource.read();
When I do this, the value axis title remains changed correctly, but the series name in the legend reverts to the default setting in the chart definition.
It doesn't make a difference if the read is called before or after the chart refresh.
I am using version 2021.2.511. How can I stop the read call changing the series name back?
