Telerik Forums
Kendo UI for Angular Forum
1 answer
138 views

I am using ASPnet core 2.0 (Visual studio 2017) mvc project using Angular 5. I am trying to use Kendo UI grid which will have all sorting, filtering, aggregation, and export to excel functionality. I could make it working using dummy data from a ts file and following the samples. However, I am having hard time figuring out how the web api or the Model/controller (if from within application) should return data since the service.ts looks for a url in localhost:47269/api/Vto/?page=1&pageSize=5 format.
Could someone please guide me if there is an appropriate step by step tutorial using Angular 2+ and aspnet core which walks through how to create service passing page, pagesize, sort etc. and a Kendo UI application utilizing it?
Dimiter Topalov
Telerik team
 answered on 09 May 2018
1 answer
151 views

Hello everybody, I'm actually on internship and during my internship I have to use Kendo UI for Angular. However, I follow the instruction of the get started page and the result are a blank page. Can you help me please.

Ps: Sorry for my english I'm french

Dimiter Topalov
Telerik team
 answered on 08 May 2018
3 answers
1.4K+ views

I'm working on a screen where the user will create a record and in the end will add a file to upload.
To resolve this, I disabled the automatic upload and placed the upload on another button (which will be used to save the data and upload).

To do this upload I need the ID, result of the insert, so I do the insert and then I upload using the ID created.

However, when I try to upload through the "xxx" function the list of files to upload is empty.
Follow my code.

<kendo-upload #ParentUploadComp
            [saveUrl]="URL_ParentUpload"
            [autoUpload]="false"
            [restrictions]="UploadImageRestrictions"
            [multiple]="false"
            [removeUrl]="uploadRemoveUrl"
            [(ngModel)]="ImageParentFiles">
</kendo-upload>

 

@ViewChild('ParentUploadComp') ParentUploadCompRef: any;
ImageParentFiles: Array<FileInfo> = [];

 

this.ParentUploadCompRef.uploadFiles();

 

When I use the above code, the variable "ImageParentFiles" is coming null, and is not uploaded.

Anyone have any suggestions?

Dimiter Madjarov
Telerik team
 answered on 08 May 2018
11 answers
1.6K+ views
I wasn't able to get my code to function the way the sample on the API page does. I tried the link "Open As Plunker" but got {"statusCode":404,"error":"Not Found","message":"Not Found"}  My mission is to show that a selected node could update another element on the page (and ultimately would cause an invocation of my RESTapi that fetched data using a field from the selected node. 
Walter
Top achievements
Rank 2
 answered on 07 May 2018
2 answers
1.0K+ views

Hi team telerik,
is it possible and if yes could you please provide a plunker how to change selected PanelBarItem in PanelBar after user clicks a button. I've tried to do it via binding selected and expanded properties of PanelBarItem, but this does not fire stateChange event of PanelBar.

Best regards
MichaƂ

Michal
Top achievements
Rank 1
 answered on 07 May 2018
2 answers
2.0K+ views

 

I have a kendo-dropdown with the following template defined in it

    <ng-template  kendoComboBoxItemTemplate let-dataItem>
        <div [class]="dataItem?.cssClass" >{{ dataItem?.title }}</div>
    </ng-template>

When i view the dropdown in the UI the value is displayed using the default value display. If i modify the tags

and use a kendo-combobox my template is rendered correctly. Are there any known issues with templates in 

"@progress/kendo-angular-dropdowns": "^2.1.0",

THanks

    


n/a
Top achievements
Rank 1
 answered on 04 May 2018
4 answers
1.2K+ views

Hello,

just a simple question - besides some components such as Grid that are not supported by Angular Material UI - is it even worth it to have Kendo UI and not native Angular components?

Svet
Telerik team
 answered on 04 May 2018
1 answer
404 views

I have an error when grid component is set a context menu. Took the  grid-context-menu.component.ts code and pasted as is from tutorial, but  it errors out in that file while setting cellclick input for #grid. Please find the attached image for error.

To build a context menu for grid, I was following the implementation at https://www.telerik.com/kendo-angular-ui/components/grid/advanced-features/context-menu

my gridcomponent:

<kendo-grid #grid
[data]="gridView"
(cellClick)="cellClickHandler($event)"
(cellClose)="cellCloseHandler($event)">

 <grid-context-menu [for]="grid" [menuItems]="contextmenuItems" (select)="onContextMenuClick($event)">
</grid-context-menu>

Error part: grid-context-menu.component.ts

@Input() public set for(grid: GridComponent) {
 this.unsubscribe();
 this.cellClickSubscription = grid.cellClick.subscribe(this.onCellClick);
}

 

Note: Even my grid component is named 'GridComponent' same as the one in gridModule. Thought that would be an issue and tested by renaming it. But found thats not an issue.

 

Dimiter Topalov
Telerik team
 answered on 04 May 2018
4 answers
2.2K+ views

We are using the version for Angular.
And in the kendo-upload component I would like to hide the "Cancel" and "Upload" buttons, I will do this with another button through the "uploadFiles" method.

I am using other components like this on other parts of the screen, but would like to hide only on a particular component.

Thank you.

Dimiter Madjarov
Telerik team
 answered on 03 May 2018
2 answers
1.7K+ views

I can't get sorting to work on a column that is selected as grouped.

https://plnkr.co/edit/j1FbSEGW3HLJDhbdHr2S?p=preview

On this grid, the group is defined on the column 'UnitPrice'.

Sorting on ProductName works, i.e. within each UnitPrice group (e.g. UnitPrice: 22, product id = 4 and 7 get sorted OK depending on asc/desc ProductName)

But Sorting on UnitPrice does not work, i.e. I expect to see the group header to show highest UnitPrice (e.g. Unit Price: 25) for descending order as first group header of the grid.

Is that feasible? Thanks!

Chau
Top achievements
Rank 1
 answered on 02 May 2018
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?