RadFileExplorer Not working in sharepoint

2 posts, 0 answers
  1. onkar Agarwal
    onkar Agarwal avatar
    9 posts
    Member since:
    Jan 2010

    Posted 15 Jan 2010 Link to this post

    hi
    I have created one custom.aspx page without any cs file .i am using radfileexplorer  in my aspx page but when I run asp.net  it is working fine and it displays the file but as soon as i integrate with the sharepoint it doesnot display the file in the  control and is shown without any files in that.The code which i used it as follow
    <telerik:RadFileExplorer runat="server" ID="FileExplorer1" Width="520px" Height="520px" OnClientItemSelected="select"
          ><Configuration ViewPaths="~sitecollection/_layouts/"  />   
                    </telerik:RadFileExplorer>
    i don't understand the error.I have the copied this aspx page in layouts folder and directly invoking the page.Can you please suggest any approach  or what mistake I am doing in this?


  2. Lini
    Admin
    Lini avatar
    2144 posts

    Posted 18 Jan 2010 Link to this post

    Hi,

    Your configuration seems wrong - the path should start with ~/ or / but not just a ~. For example:

    <Configuration ViewPaths="~/sitecollection/_layouts/"  />
    or
    <Configuration ViewPaths="/sitecollection/_layouts/"  />

    If you want to make the RadFileExplorer connect to a SharePoint list and not physical files on the MOSS server, you need a special content provider. For more details see the following blog post - http://blogs.telerik.com/stoyanstratev/posts/09-06-17/using_the_radfileexplorer_for_asp_net_ajax_in_a_moss_web_application.aspx

    Kind regards,
    Lini
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.

Back to Top