I have a problem with "FileUpload" control from DOTVVM
.
My project is in ASP Core 2 and I
use DOTVVM
.
I added to the project:
- Folder App_Data / Temp
- I have added
options.AddUploadedFileStorage ("App_Data / Temp")
to theDotvvmStartup
file in theConfigureServices
section; - In the
.dotcontrol
file I added:
<dot: FileUpload UploadedFiles = "{value: Files}" AllowMultipleFiles = "true" />
When I click the button nothing happens.
- In the console (Firefox developer tools) an error appears:
TypeError: t.document.getElementById (...) is null
- When I set breakpoint to
ConfigureServices (IDotvvmServiceCollection options)
, the program does not enter this block of code
The problem appears in version 2.0
Please help