Initial Path and the Pager

4 posts, 0 answers
  1. Paul Herzberg
    Paul Herzberg avatar
    20 posts
    Member since:
    Jun 2010

    Posted 24 Apr 2012 Link to this post

    Hello

    My problem is this. I upload a file to my system and then update my RadFileExplorer. I want to set the initialPath, but if the file is not on the first page, when the pager is enabled, it is not selected.

    You can actually try this for yourself on the RadFileExplorer demo page (http://demos.telerik.com/aspnet-ajax/fileexplorer/examples/default/defaultcs.aspx). Set "" to true and copy as many files as you can into the Flowers directory and then refresh.

    The initialPath does work if you turn the pager off. However, the strength of the pager is that I don't have to, time consumingly, read every file in a directory.

    One thing that might help, is moving to the last page before calling InitialPath (or loadFolder) as the files aren't ordered until you tell the RadFileExplorer to, but I'm at a loss as to how to achieve this.

    Thank you for your help in this matter.

    Paul Herzberg

    PS. Also the filter doesn't remember the entry if you try to move to another page
  2. Dobromir
    Admin
    Dobromir avatar
    1633 posts

    Posted 27 Apr 2012 Link to this post

    Hi Paul,

    I tried to reproduce the problem but to no avail. Could you please provide more detailed information regarding specific scenario?

    • Which version of RadControls for ASP.NET AJAX and .NET Framework are used in the application?
    • Under which browser and its version the problem occurs?
    • Could you please provide the exact steps that need to be executed in order to reproduce the problem? The following video demonstrates my test, could you please see if I am missing something?
      http://screencast.com/t/tZ1oOCwHacg

    Regarding the Filtering, this is expected behavior. The filter textbox filters the content of the current page, when the page or the folder is changed the filter is reset.

    Greetings,
    Dobromir
    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Paul Herzberg
    Paul Herzberg avatar
    20 posts
    Member since:
    Jun 2010

    Posted 27 Apr 2012 Link to this post

    Hello,

    We recently updated the Dll to ProductVersion 2012.1.215.35.

    The browser I use is Firefox 11.0.

    I see that the demo does work.

    I am using a Custom DB provider, but the project the Initial path does work if the file is in the first page, so it may be that I've got something wrong in the InitialPath string.

    Thank you

    Paul
  5. Dobromir
    Admin
    Dobromir avatar
    1633 posts

    Posted 30 Apr 2012 Link to this post

    Hi Paul,

    Could you please verify that the value set to the InitialPath property match the value displayed in the RadFileExplorer's AddressBar?

    Regards,
    Dobromir
    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