Required: Upload advice!

Thread is closed for posting
2 posts, 0 answers
  1. Terri-Lynn
    Terri-Lynn avatar
    45 posts
    Member since:
    Dec 2010

    Posted 30 Sep 2011 Link to this post

    Hi all:

    I've read a little on here and found out that I can't have multiple upload controls on the same page at one time.  For the web application I'm building, I'm required to allow the client to add a new record to the database, which includes 3 files.  I'm not saving the files themselves in the database, but the relative path.  The client also needs to physically upload these 3 files, which are all associated with 1 record in the database.  How would you suggest I should do this?  I'm not sure if it's because it's Friday and I'm mentally drained, or if I just can't grasp a solution today.  Time is ticking and any help/suggestions are greatly appreciated.

  2. Peter Filipov
    Peter Filipov avatar
    1028 posts

    Posted 05 Oct 2011 Link to this post

    Hi Terri-Lynn,

    You can use RadUpload control. Please review the following sample code:
    <telerik:RadUpload runat="server" ID="RadUpload1" InitialFileInputsCount="3" ControlObjectsVisibility="None"></telerik:RadUpload>

    On the server side you can obtain the uploaded file through UploadedFiles collection.

    All the best,
    Peter Filipov
    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
Back to Top