I am using RadUpload with ajax enabled. so in server side i am using the code RadUpload1.UploadedFiles.Count so result always comes 0.
How to get file in server side with ajax enable. please give me a tips for this one.
Thanks,
Dhamu.
3 Answers, 1 is accepted
0
Bozhidar
Telerik team
answered on 15 Dec 2011, 01:10 PM
Hello Dhamodharan,
Could you provide the code of the page you are using the RadUpload on, and also the code-behind file, so I can investigate the problem locally.
All the best,
Bozhidar
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
Protected Sub Button2_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button2.Click
Dim uploadCnt As String = RadUpload2.UploadedFiles.Count
End Sub
when using ajax loading panel uploadCnt always comes 0. please how to get radupload file when using ajax loading panel..
Please let me know,
Thanks,
Dhamu.
0
Bozhidar
Telerik team
answered on 15 Dec 2011, 05:42 PM
Hi Dhamodharan,
RadUpload cannot upload files using AJAX calls (this is a limitation of the XmlHttpRequest component, used in all AJAX frameworks for asynchronous calls to the application) in order to upload a file you should perform a full page postback.
If you want to take advantage of the AJAX functionality, you should use RadAsyncUpload.
Regards,
Bozhidar
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