Preview Image

2 posts, 0 answers
  1. Tony
    Tony avatar
    2 posts
    Member since:
    May 2018

    Posted 21 May Link to this post

    Can I priview image in  onselect event ? 
  2. Marin Bratanov
    Marin Bratanov avatar
    5314 posts

    Posted 21 May Link to this post

    Hi Tony,

    You can see how you can do this here:

    In OnSelect, you don't have the file because the Upload component does not send it to Blazor - this would be a performance hit for server-side blazor as ultimately the file would be sent over the wire 3 times, all of them over SignalR which is not designed for large payloads. If you want to have a file in OnSelect to modify and use immediately, you would need a FileSelect component that sends the file to the Blazor app, and not to an endpoint. In this article you can Vote for and Follow the implementation of such a Telerik component, and you can also find an example of how to make one yourself:


    Marin Bratanov
    Progress Telerik

    Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
    Our thoughts here at Progress are with those affected by the outbreak.
Back to Top