Possible To Avoid Internal Caching (force async postback)?

2 posts, 0 answers
  1. Chris May
    Chris May avatar
    32 posts
    Member since:
    Nov 2009

    Posted 23 Mar 2011 Link to this post

    I have a FileExplorer on a page with a very short logout period.

    The problem is, when people are logged out, they are still able to click around the FileExplorers folders so long as they have visited the folders recently (the internal caching of the FileExplorer doesn't make another trip to the server).

    Is it possible to have the FileExplorer not cache it's lists of flies, and ask the server when a folder is selected for the current list of files in that folder?
  2. Dobromir
    Dobromir avatar
    1633 posts

    Posted 25 Mar 2011 Link to this post

    Hi Chris,

    I already answered your support ticket on the subject. For convenience I will paste my answer here as well.

    It is possible to avoid the internal caching of RadFileExplorer by assigning a handler to the ClientFolderLoaded event and clear the cache using the clearFolderCache() client-side method of RadFileExplorer, e.g.:
    <telerik:RadFileExplorer ID="RadFileExplorer1" runat="server" OnClientFolderLoaded="OnClientFolderLoaded">
        <Configuration ViewPaths="~/ROOT" DeletePaths="~/ROOT" UploadPaths="~/ROOT" />
    <script type="text/javascript">
        function OnClientFolderLoaded(explorer, args)

    the Telerik team
Back to Top