1. Add the following content to Web. config:
<Httphandlers>
<Add verb = "*" Path = "telerik. raduploadprogresshandler. aspx" type = "telerik. webcontrols. raduploadprogresshandler, radupload. net2"/>
</Httphandlers>
<Httpmodules>
<Add name = "raduploadmodule" type = "telerik. webcontrols. raduploadhttpmodule, radupload. net2"/>
</Httpmodules>
2. Reference and declare use
<% @ Register tagprefix = "Radu" namespace = "telerik. webcontrols" assembly = "radupload. net2" %>
<Radu: radprogressmanager id = "radprogressmanager1" runat = "server"/>
<Radu: radupload id = "radupload1" runat = "server" Skin = "web20" initialfileinputscount = "2"
Maxfileinputscount = "4" allowedfileextensions = ".doc,.rar" maxfilesize = "10000000"
Targetfolder = "~ /Upload/kjcx "overwriteexistingfiles =" false "/>
<Asp: button id = "buttonsubmit" runat = "server" cssclass = "raduploadbutton" text = "Submit! "/>
<Radu: radprogressarea id = "progressarea1" runat = "server"/>
Many parameter settings reference: http://www.telerik.com/demos/aspnet/Upload/Examples/Overview/DefaultCS.aspx
3. Control the file size. If it is too large, a page error is reported.
Web. config
<Httpruntime usefullyqualifiedredirecturl = "true" maxrequestlength = "8192" requestlengthdiskthreshold = "8192"/>
Error help document:
Http://www.telerik.com/support/kb/article/b454K-gth-b454T-cee.aspx
Http://www.telerik.com/help/radUpload/v2_Net2? Uploadinglargefiles.html
The above content is reprinted by others. Today, I downloaded a source code for uploading large-capacity files. Two of the rad controls are used, and a M file is uploaded successfully, this control will be used to upload large-capacity files in the future. As a solution for uploading large-capacity files, haha!