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

Upload files to SharePoint document library

3 Answers 120 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Art Kedzierski
Top achievements
Rank 2
Art Kedzierski asked on 26 Sep 2012, 04:11 PM
How can I utilize RadAsyncUpload to upload files to a SharePoint document library? Apparently, its not as simple as setting the TargetFolder of the RadAsyncUpload to a SharePoint document library URL. The ASP page hosting the control sits outside of SharePoint but in the same internet zone for authentication purposes.

Anybody have an unambiguous example of how to do this?

Here's the front code, but how to wire it together in the back-end C#?

<telerik:RadAsyncUpload ID="RadAsyncUpload1" runat="server" Skin="Windows7" FileUploaded="RadAsyncUpload1_FileUploaded"
    AllowedFileExtensions="jpg,jpeg,gif,png">
</telerik:RadAsyncUpload>
<div>
    Valid image types: JPEG, GIF, PNG.</div>
<hr />
<telerik:RadButton ID="RadButton1" runat="server" Skin="Windows7" Text="Upload" OnClick="RadButton1_OnClick">
</telerik:RadButton>

3 Answers, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 01 Oct 2012, 01:37 PM
Hello,

 
One way you can handle this scenario is described in this blog post. 

You can also review this help article where more information is provided about the possible troubleshooting.

Hope this will be helpful.

Greetings,
Plamen
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.
0
Art Kedzierski
Top achievements
Rank 2
answered on 01 Oct 2012, 01:42 PM
Was there supposed to be a link to a blog post in that reply?
0
Kalina
Telerik team
answered on 04 Oct 2012, 01:22 PM
Hi Art Kedzierski,

Please excuse us for the broken blog post link.

As far as I understand - you want to upload images to a SharePoint 2010 library.
Let me suggest you take a look at this forum thread and try the approach described there.

If there is anything else we can help you with, please let me know.

All the best,
Kalina
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
Art Kedzierski
Top achievements
Rank 2
Answers by
Plamen
Telerik team
Art Kedzierski
Top achievements
Rank 2
Kalina
Telerik team
Share this question
or