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

Can you please provide 'FIX: RadAsyncUpload sometimes does not save' in VB.NET?

3 Answers 49 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 2
David asked on 22 Jul 2010, 03:19 PM

The code translation tool is not working. Intellisence shows errors; the site won't compile.

Also, don't you need the IsReusable() property?

3 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 22 Jul 2010, 04:13 PM
Hi David,

I recommend you to download the latest internal build 2010.2.722 which contains the fix.

Here is the code in VB:

<%@ WebHandler Language="VB" Class="CustomHandlerVB"  %>
 
imports System
imports System.Web
imports Telerik.Web.UI
 
Public Class CustomHandlerVB
    Inherits AsyncUploadHandler
    Protected Overrides Function Process(file As UploadedFile, context As HttpContext, configuration As IAsyncUploadConfiguration, tempFileName As String) As IAsyncUploadResult
        configuration.TimeToLive = TimeSpan.FromHours(4)
        Return MyBase.Process(file, context, configuration, tempFileName)
    End Function
End Class


Regards,
Yana
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
David
Top achievements
Rank 2
answered on 22 Jul 2010, 04:25 PM
Thanks Yana!

I would download the fix, but I read somewhere on one the the Telerik blogs that the internal builds are not intended for production; meaning, your production site.

I need to apply this fix to a live site, so if Telerik is doesn't recommend the internal builds for this purpose, I am leery.

What do you suggest?
0
Yana
Telerik team
answered on 23 Jul 2010, 07:53 AM
Hello David,

In general it's true that the internal builds are recommended only for testing, not for production. Anyway in the specific case, the current internal build is safe - it contains only a few fixes from this week. I suggest you download it and give it a try.
 
Regards,
Yana
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
AsyncUpload
Asked by
David
Top achievements
Rank 2
Answers by
Yana
Telerik team
David
Top achievements
Rank 2
Share this question
or