I have a RadFileExplorer on mi app. I want show a different folder for each kind of use.
So, I set the viewpath dinamically. I created a mapping file Beacause the folders aren't on my app's directory.
The RadFileEplorer shows the files, but the paging doesn't works, and always show me the same files.
The Filtering and the sorting doesn't works neither.
You can see in the atached files , the pagination shows same files on the first and on the second page.
here is The mapping File, it looks well and works.
Here is the RadFileExplore declaration
and here is mi code.
I can't set the initialpath property because i don't know if the folder contais files or no.
thanks for your helping
update: also doesn't allow me to navigate within subfolders.
So, I set the viewpath dinamically. I created a mapping file Beacause the folders aren't on my app's directory.
The RadFileEplorer shows the files, but the paging doesn't works, and always show me the same files.
The Filtering and the sorting doesn't works neither.
You can see in the atached files , the pagination shows same files on the first and on the second page.
here is The mapping File, it looks well and works.
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<
CustomFileBrowserProvider
>
<
Paths
>
<
genericHandlerPath
>FileSystemHandler.ashx</
genericHandlerPath
>
</
Paths
>
<
Mappings
>
<
Mapping
>
<
PhysicalPath
>
<![CDATA[ D:\MarceloEscobar\Descargas del Reloj\Central]]>
</
PhysicalPath
>
<
VirtualPath
>
<![CDATA[descargascentral]]>
</
VirtualPath
>
</
Mapping
>
</
Mappings
>
</
CustomFileBrowserProvider
>
Here is the RadFileExplore declaration
<
telerik:RadAjaxPanel
ID
=
"RadAjaxPanel1"
runat
=
"server"
LoadingPanelID
=
"progress"
>
<
telerik:RadFormDecorator
ID
=
"FormDecorator1"
runat
=
"server"
Skin
=
"Office2007"
/>
<
asp:Label
runat
=
"server"
Font-Size
=
"Large"
ID
=
"lblEncabezado"
CssClass
=
"label"
Text
=
"Incorporar Archivos del Reloj:"
/>
<
telerik:RadFileExplorer
ID
=
"FileExplorer1"
runat
=
"server"
DisplayUpFolderItem
=
"false"
AllowPaging
=
"true"
EnableOpenFile
=
"true"
PageSize
=
"7"
EnableAsyncUpload
=
"false"
EnableCopy
=
"false"
EnableCreateNewFolder
=
"false"
Height
=
"310px"
OnClientFileOpen
=
"OnClientFileOpen"
OnClientMove
=
"OnClientMove"
Skin
=
"Office2007"
VisibleControls
=
"Grid"
Width
=
"600px"
>
<
Configuration
SearchPatterns
=
"*.REI"
/>
</
telerik:RadFileExplorer
>
<
br
/>
and here is mi code.
Protected
Sub
Page_Load(
ByVal
sender
As
Object
,
ByVal
e
As
System.EventArgs)
Handles
Me
.Load
If
Not
Page.IsPostBack
Then
Dim
ruta =
"descargascentral"
FileExplorer1.Configuration.ContentProviderTypeName = _
GetType
(CustomFileSystemProvider).AssemblyQualifiedName
Dim
rutas
As
String
() =
New
String
() {ruta}
FileExplorer1.Grid.ClientSettings.AllowRowsDragDrop =
False
FileExplorer1.Configuration.ViewPaths = rutas
FileExplorer1.Grid.ClientSettings.Scrolling.AllowScroll =
True
End
If
End
Sub
I can't set the initialpath property because i don't know if the folder contais files or no.
thanks for your helping
update: also doesn't allow me to navigate within subfolders.