Skip to content

Commit f95d543

Browse files
Merge pull request #4212 from syncfusion-content/ES-958054-hf-fm
958054: Need to add a note section when setting args.useFormPost = false in the FileManager component.
2 parents 8b8ed75 + 0b45c4e commit f95d543

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ej2-asp-core-mvc/file-manager/how-to/pass-custom-value-to-server.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,8 @@ public object Download([FromBody] FileManagerDirectoryContent args)
179179

180180
```
181181

182+
> **Note:** When setting **args.useFormPost = false**, ensure that the server-side download method uses the MIME type **"application/octet-stream"** in a case-sensitive manner, matching the expected format exactly.
183+
182184
## 4. For GetImage Operation
183185

184186
For the **GetImage** operation, use the **beforeImageLoad** event to pass custom value. Since the **GetImage** operation doesn't support custom headers in HTTP requests, pass the custom values along with **imageUrl** using query parameters instead.

0 commit comments

Comments
 (0)