Getting Started Info

3 posts, 1 answers
  1. Skip
    Skip avatar
    14 posts
    Member since:
    Mar 2013

    Posted 28 Jan 2015 Link to this post

    Hello,

    I have the need to build a customer complaint portal.  I want my users to be able to create a new complaint, and upload the most common file types as attachments.  Such s jpg, doc, pdf, etc.  I'm not sure how to attach those documents to the new record.

    I understand how to upload the documents using AsyncUpload to a common directory.

    How do you link the documents back to a particular record?  Do you store the file path in a database somewhere?  Do you create a new folder for each record and store that in a database?  I'm missing a piece to the puzzle.

    What is the easiest way, best practice, to accomplish this so users can view and manage images associated with a record?
  2. Answer
    Hristo Valyavicharski
    Admin
    Hristo Valyavicharski avatar
    975 posts

    Posted 02 Feb 2015 Link to this post

    Hi Skip,

    You can store files on the File System and file path inside the database or you can keep both inside the database - it depends on your scenario. Please find the attached sample. It shows how to upload images inside a database and preview them inside radgrid.

    Regards,
    Hristo Valyavicharski
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Skip
    Skip avatar
    14 posts
    Member since:
    Mar 2013

    Posted 26 Feb 2015 in reply to Hristo Valyavicharski Link to this post

    Thank you, Thank you, Thank you!!!
Back to Top