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

Trying to figure out how to use?

1 Answer 26 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Stephan
Top achievements
Rank 1
Stephan asked on 17 Jan 2012, 07:25 PM
I am bulding a upload page, but I am confused as to the proper way to handle the contols. 
I dragged the Asyncupload control into my area on my page.  When I do that it looks as though I also need to
Add RadAjaxManager
Add RadScriptManager
Add RadStyleSheetManager
Add ScriptManager

When I put either of the the scriptManagers on the page I get an error that there is already a ScriptManager on the page.  And there is, it is used by the Tabstrip that I am using for navigation.

I add the other two managers and they don't seem to do anything.
I then add one of the Progress managers and it doesn't seem to do anything either.
The last control I have is the Submit button for Postback, when pressed the screen goes blank and the file selected goes
away with out any indication that an upload occured.  Since I am doing this all on my Laptop, where should I look for the uploaded file.

1 Answer, 1 is accepted

Sort by
0
Bozhidar
Telerik team
answered on 18 Jan 2012, 05:38 PM
Hi Stephan,

The only things that the AsyncUpload control needs, are a ScriptManager to pe present on the page (doesn't matter if it's the regular one or RadScriptManager, but only one instance of it), and the registration of the Telerik.Web.UI.WebResource.axd in the web.config file. The options you see in the designer are just suggestions.

When a postback of the page occurs, the file is set to the folder, specified by the TargetFolder property of the upload. You can also choose to save the file manually using the OnFileUploaded server event.

You can read more about how to set up RadAsyncUpload in the following help article:
http://www.telerik.com/help/aspnet-ajax/asyncupload-getting-started.html 

You can also check out our live demos, which cover a lot of the different usages of the upload:
http://demos.telerik.com/aspnet-ajax/asyncupload/examples/overview/defaultcs.aspx?product=asyncupload 

 
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
Tags
AsyncUpload
Asked by
Stephan
Top achievements
Rank 1
Answers by
Bozhidar
Telerik team
Share this question
or