This is a migrated thread and some comments may be shown as answers.

Return uploaded image to view

1 Answer 44 Views
Upload
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Marco Teodoro
Top achievements
Rank 1
Marco Teodoro asked on 10 May 2012, 11:35 AM
Hello,

how can i return the uploaded image content to be able to access it in the onsuccess client event?

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 11 May 2012, 08:10 AM
Hello Marco,

I suppose you simply want to show the image on the page after a successful upload. In this case just save the file in the server action to a predefined location, then in the OnSuccess event request it by creating a new DOM node client-side with an appropriate URL.

All the best,
Dimo
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now.
Tags
Upload
Asked by
Marco Teodoro
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or