This is a migrated thread and some comments may be shown as answers.

Initial Path and the Pager

3 Answers 129 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
Paul Herzberg
Top achievements
Rank 1
Paul Herzberg asked on 24 Apr 2012, 04:39 PM
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

3 Answers, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 27 Apr 2012, 08:39 AM
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.
0
Paul Herzberg
Top achievements
Rank 1
answered on 27 Apr 2012, 08:58 AM
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
0
Dobromir
Telerik team
answered on 30 Apr 2012, 03:06 PM
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.
Tags
FileExplorer
Asked by
Paul Herzberg
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
Paul Herzberg
Top achievements
Rank 1
Share this question
or