Telerik Forums
UI for ASP.NET Core Forum
1 answer
194 views
Greetings!
I have an ASP.NET Core app. In this app on one page I have a custom multiselect with 21 values of 38 selected by default.
In browsers like Firefox and Safari, all works fine, all required values (21 of 38) in multiselect are selected.
But in Chrome the multiselect is empty, so I need to select all 21 values manually.
Is this a bug?
Thanks
Petar
Telerik team
 answered on 15 Oct 2020
5 answers
537 views

The code places the PDF Viewer in a partial razor view.  I am using Zurb Foundation to display a modal dialog.  The PDF viewer displays on the modal dialog.  I am using the OnRender to change the PDF viewer to fit to width.  What I am seeing is the first time that the PDF file is rendered, the PDF file is smaller than subsequent renders while the modal dialog is open.

For example, on the first render of the dialog, I see the following( see attachment FirstRender.png).

While the modal dialog is displayed, I change to another zoom selection and back to fit to width.  This render does appear to fit to width (see attachment SecondRender.png).  Repeating the switch between the selections and back to fit to width yields the same result where fit to width seems to work (see attachment SecondRender.png).

 

Is there some way I can get the first render to fit to width like the subsequent renders?

Aleksandar
Telerik team
 answered on 15 Oct 2020
1 answer
325 views

Hi,

 

I'm stuck on a fall back version due to budget constraints. We use 2020.1.406. 

 

Does this version not support Form? 

Thank you.

Neli
Telerik team
 answered on 15 Oct 2020
1 answer
1.1K+ views
    
 

How do I add data attributes?

Like:

data-filter=".lap"

 

Thanks, Marty

 

FYI, I am having issues posting in the forum as well in chrome

 
Petar
Telerik team
 answered on 15 Oct 2020
11 answers
4.5K+ views

Hello,

I'm using this code in my grid:

 

   .ToolBar(tools => tools.Excel())
     .Excel(excel => excel
        .FileName("Ci_view.xlsx")
        .Filterable(true)
        .ProxyURL(Url.Action("ExportExcelSave", "Ci"))
        .AllPages(true)

My question is; how can I exclude some columns from my Excel?

 

Thanks!!

 

Daniel Blendea
Top achievements
Rank 1
 answered on 15 Oct 2020
1 answer
157 views

I was using Hoverable Dropdown (https://www.w3schools.com/howto/howto_css_dropdown.asp) and when Filterable Kendo Grid is applied on my webpage, the Kendo Grid Filter icons appeared on top of the Hoverable Dropdown interface while the Kendo Grid headers were hidden by the Hoverable Dropdown (please refer to the partial screenshot from the attachment).

Is it because of certain part of the css for the Hoverable Dropdown causing such an issue?

I would appreciate your expert advice.

Cheers

Ivan Danchev
Telerik team
 answered on 14 Oct 2020
1 answer
139 views

     I started using the TreeList and this happens:

  • I have a list of items (columns: Name and CreatedDate)
  • I sort the list by CreatedDate DESC
  • The order of the items updates accordingly
  • I click on an item and view the details page
  • Go back to the list
  • The order is reset again

Is it possible to save the current order so that when you go back to the list it remembers the changes you made?

Anton Mironov
Telerik team
 answered on 13 Oct 2020
1 answer
137 views

I want to bring up the print dialog as soon as the PDF is loaded.

I am using 

pdfViewer.execute({ command: "PrintCommand" });

 which works fine from a button.

However it fails when I use it from the onRender event.

Putting an alert in the event appears to show the event is fired before the PDF is rendered to screen.

Is there another way to do this?

 

Martin
Telerik team
 answered on 13 Oct 2020
2 answers
158 views

Hello, I am trying to reorder/sort items in my TreeList but it doesn't seem to work like this demo:

https://demos.telerik.com/aspnet-core/treelist/dragdrop

 

Every time I drag an items it looks like i can only add it to a parent but I can't drop it in a new position (see attached video).

So I have two questions:

  1. How to enable the drop in between items?
  2. How to disable to parent  functionality (I only need to allow the reordering on the same level)

Here's the code:

01.@(Html.Kendo().TreeList<SchoolInfoSectionViewModel>()
02.    .Name("treelistschool")
03.    .Columns(x =>
04.    {
05.        x.Add().Field(e => e.SectionId).Title(" ")
06.            .Template($"<div class=\"d-inline-flex\" role=\"group\">" +
07.                      $"<a href=\"../SchoolInfo/Edit/#= SectionId #\" class=\"btn btn-sm btn-secondary mr-1\">" +
08.                      $"<i class=\"fa fa-pencil\"></i></a>" +
09.                      $"<span class=\"text-muted mr-1\">|</span>" +
10.                      $"<a href=\"\\#\" data-val=\"#= SectionId #\" class=\"btn btn-sm btn-danger mr-1\" data-toggle=\"modal\" data-target=\"\\#deleteModal\">" +
11.                      $"<i class=\"fa fa-trash\"></i></a></div>")
12.            .Width(120)
13.            .Filterable(false);
14. 
15.        x.Add().Field(e => e.SchoolInfoContent.ContentTitle).Title("Section Title")
16.            .Template($"<a href=\"../SchoolInfo/Detail/#= SectionId #\" >#= SchoolInfoContent.ContentTitle #</a>");
17. 
18.    })
19.    .Editable(editable => editable.Move(true))
20.    .Reorderable(true)
21.    //.Filterable()
22.    //.Sortable(true)
23.    //.Toolbar(toolbar => toolbar.Search())
24.    //.Toolbar(t => t.Custom().Name("btncreateschool").Text("+ Create new section"))
25.    //.Search(x => x.Field(f => f.SchoolInfoContent.ContentTitle))
26.    .DataSource(x =>
27.            x.Read(read => read.Action("AllSchool", "SchoolInfo"))
28.            .Model(m =>
29.            {
30.                m.Id(f => f.SectionId);
31.                m.ParentId(f => f.ReportsTo).Nullable(true);
32.                m.Expanded(false);
33.                m.Field(f => f.UpdatedBy);
34.                m.Field(f => f.SchoolInfoContent.ContentTitle);
35.                m.Field(f => f.UpdatedOn);
36.                m.Field(f => f.IsPublished);
37.            })
38.    ))
Tsvetomir
Telerik team
 answered on 13 Oct 2020
3 answers
373 views
Greetings.
I created partial view (editable grid with pop-up) of uploaded files.
Kendo Upload element is in pop-up window.
This partial view works well on all views, except one.
When I inspect upload element in browser in that "non-working" view it shows <input type="file"> instead of <div class="k-widget k-upload k-upload-async ...> like in "working" views and uploading logic doesn't work at all.
Can you help me with this issue?
Thanks
Best regards, Yauheni
Yauheni
Top achievements
Rank 1
Veteran
 answered on 13 Oct 2020
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?