Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow setting initial files from the model in Upload taghelper #4569

Closed
zdravkov opened this issue Oct 5, 2018 · 1 comment
Closed

Allow setting initial files from the model in Upload taghelper #4569

zdravkov opened this issue Oct 5, 2018 · 1 comment

Comments

@zdravkov
Copy link
Member

zdravkov commented Oct 5, 2018

Bug report

Currently it is not possible to set the initial files from the model.

Expected
Should be able to set the initial files from the model - one possible solution is to allow the following markup:

<kendo-upload drop-zone="drop-zone1" name="files">     

            <async save-url="asd" />

            <validation allowed-extensions="@Model.Extensions" />

            <files>
                @foreach (var item in @Model.Extensions)
                {
                    <file name="somename" extension="some"></file>
                }
            </files>

        </kendo-upload>

Environment

  • Kendo UI version: 2018.3.911
@tsafadi
Copy link

tsafadi commented Jul 9, 2019

Has this been solved? It doesn't seem to work in the latest version...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants