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

Removing DirectoryItems and Paging

1 Answer 41 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
Janice K
Top achievements
Rank 1
Janice K asked on 07 Oct 2010, 07:48 PM

Hi.

We've implemented a custom FileBrowserContentProvider to display directories and files from our services.  In order to increase performance and customer appeal, we allow paging and hide directories in the grid and only show files.  I've implemented a suggestion from other forums and removed the DirectoryItem objects from the grid in the OnExplorerPopulated event.  This worked great.

My problem arises when the number of DirectoryItems exceeds the number of items in the page.  ie: 30 DirectoryItems in the list, PageSize is set to 25.  The grid will display there are "No records to display".
Is there a way to intercept the event that is loading the items into the grid, and just not include the directories in the list in the first place?

1 Answer, 1 is accepted

Sort by
0
Fiko
Telerik team
answered on 13 Oct 2010, 08:12 AM
Hi Janice,

I was able to reproduce the described behavior and recognize it as a problem in the RadFileExplorer control. The problem is caused by the fact that the changes, made in the ExplorerPopulated event handler, are not properly applied to the Grid control. I have fixed this, however, in the code of the control and the changes will be available in the upcoming BETA release of the RadControls for ASP.NET AJAX, scheduled for the end of this month.

Thank you for bringing this problem to our attention. Your Telerik points were updated.

All the best,
Fiko
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
FileExplorer
Asked by
Janice K
Top achievements
Rank 1
Answers by
Fiko
Telerik team
Share this question
or