Web Part for loading data

2 posts, 0 answers
  1. Gionata
    Gionata avatar
    13 posts
    Member since:
    Mar 2014

    Posted 04 Apr 2014 Link to this post

    Hi everyone!

    Can you suggest me an example of a sharepoint webpart used to load a file (for example an excel file, whose content will be copied into a datatable); if possible, a solution that provides that when I click on a text box, the browsing window for file's research is automatically opened  and when file is selected by user, the text box is filled with the path of that file.

    Thanks in advance.

  2. Vessy
    Vessy avatar
    1663 posts

    Posted 09 Apr 2014 Link to this post

    Hi Gionata,

    I am nt wuite sure whether I understand the exact scenario correctly:
    • If you want to get the path to a file from the user's local machine - I am afraid that this cannot be achieved with any of the Telerik UI for ASP.NET AJAX controls.
    • If you want the user to be able to select a file from the server - you can use RadFileExplorer. A similar implementation for such dialog selector logic is available here: File Selector Dialog. Note, that if you want to list files and folders from a SharePoint library, you will need to implement a custom content provider.

    If this is not the case, could you explain in more details what is the exact scenario you want to achieve?

    Looking forward to hearing from you,

    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.

Back to Top