Telerik Forums
Kendo UI for Angular Forum
0 answers
43 views
public onFileUpload(e: UploadEvent): void {
      // const file = e.files[0].rawFile;
    // e.preventDefault();
    // const formData = new FormData();
    // formData.append("file", file, file.name);
    // formData.append("sourceId", "1");
    // formData.append("documentTypeId", "1");
    // formData.append("associationId", this.id.toString());
    // formData.append("documentTypeName", "InventoryManagementImage");
    // this.HttpClient.post("upload", formData).subscribe(
    //  (response) => {
    //    console.log("Upload successful:", response);
    //    // Handle response
    //  },
    //  (error) => {
    //    console.error("Upload failed:", error);
    //    // Handle error
    //  }
    // );
    // console.log(e, "e");
   

  }

if i use this it works but when i try another way its sucks  

public uploadSaveUrl = "upload"

const formData = new FormData();

    // Append additional data to FormData
    formData.append("sourceId", "1");
    formData.append("documentTypeId", "1");
    formData.append("associationId", this.id.toString());
    formData.append("documentTypeName", "InventoryManagementImage");
    // Iterate through selected files and append to FormData
    e.files.forEach((file) => {
      formData.append("file",file.rawFile, file.name);
      console.log( file.name, " file");
    });
    // Set the FormData as the upload data
    e.data = formData;
    console.log(e.data ,e ,  'data') is i possible to adding this formdata on kendo uploadSaveUrl ? and make request then?
avto
Top achievements
Rank 1
 asked on 23 Apr 2024
0 answers
80 views

Hi,

I used the kendo ui angular for  tilelayout to create a dashboard but i am not able to remove or add the tiles as there is no delete or add icon in the tiles.  So currently drag and  drop of the tiles are happening but not able to remove the tile from the dashboard.
can you please help me?

I am building the application using Angular.

Kendo
Top achievements
Rank 1
 updated question on 23 Apr 2024
0 answers
58 views
please provide date fiters example for kendo grid 
obulesh
Top achievements
Rank 1
 asked on 22 Apr 2024
2 answers
116 views

Hi,

Is there a way to do some data binding on action buttons while using the service dialog.

        const dialog: DialogRef = this.dialogService.open({
            title: 'Create Dialog',
            content: SomeFormComponent,
            actionsLayout: 'end',
            actions: [
                { text: 'Cancel', fillMode: 'clear', themeColor: 'accent' },
                {
                    text: 'Create Something',
                    themeColor: 'primary',
                    fillMode: 'solid',
                    cssClass: 'height-override',
                },
            ],
        });

I want to place some binding to the "Create Something" button to toggle it being enabled/disabled.

Is this even possible? Is there some sort of workaround?

 

Thanks!

Zornitsa
Telerik team
 answered on 22 Apr 2024
0 answers
43 views
We recently update our application from kendo-angular 14 to 15 and noticed that throughout our entire application the kendo-cards got a fixed width of 285px.

Now we noticed that you now have to set a width for the kendo-cards yourself, otherwise it will default to 285px.
My question is why was this 285px chosen as a default? It did not make much sense for us. We expected the width to be 100%, like it was before.

What was the reason for this change? And is this something that could be reverted back to the initial state where it was full width?
Remco
Top achievements
Rank 1
 asked on 22 Apr 2024
1 answer
52 views

Hello,

I was wandering if you have plans to:

1. Add media player to the Kendo UI for Angular

2. Improve Gantt Chart with additional features from Kendo UI for jQuery like ability to drag task's start and end on the chart.

Thank you,

Sergey

 

Martin Bechev
Telerik team
 answered on 22 Apr 2024
0 answers
60 views

I want to ensure that the spacing between paragraphs is preserved exactly as you typed it into the Kendo Editor. Does the Editor have this capability already or would I have to do a work-around? 
Eros
Top achievements
Rank 1
 asked on 19 Apr 2024
0 answers
65 views
on click calendar i see button today. how to hide this button?
Abodabe
Top achievements
Rank 1
 asked on 18 Apr 2024
1 answer
56 views

Hello - I want to style the dropdowns that are inside the Kendo Angular filter component without overriding Kendo dropdown styles. For example, I'd like to increase the width and set font size. Is there a way to do this?

 

Zornitsa
Telerik team
 answered on 18 Apr 2024
0 answers
50 views

When move item between sections, then it creates the duplicate as well active item remains as it is in dragged item section even after drop the item. Can you please suggest give workaround?

Here is the reproducible example.

app.component.ts - nodebox - CodeSandbox

Shailesh
Top achievements
Rank 1
 asked on 16 Apr 2024
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?