The following code will work correctly on IE browser only, since in Firefox the
input.value returns the filename instead of the full path to the file.
For security reasons the above code will work only on localhost, to make it work remotely
you need to add the site to the Trusted Sites.Check the following help documentation which explains the same. How to Preview Image Before Upload (IE only)
if it is not compatible for all browsers then is there any way to show that Rad upload and asp image inside the rad grid fromtemplate..
my requirement is when i select the file path that time the respective image need to be shown..
my rad grid having add,edit,delete functionality.. is there any solution with this then please share with me..
answered on 18 Jul 2012, 03:32 PM
When using RadUpload such behavior is highly restricted for security reasons as it is explained in the article that was linked by Shinu so you can consider using RadAsyncUpload as it is shown in this on-line demo.
Hope this will be helpful.
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 RadControls for ASP.NET AJAX, subscribe to their blog feed now.