Is it possible to have the WindowManager within the FileExplorer have a different skin?
I am setting the following in code:
rfeExplorer.Upload.Skin = "Default"
rfeExplorer.WindowManager.Skin = "Default"
The FileExplorer has a Web20 setting, but appears as though the WindowManager ignores it.
I am setting the following in code:
rfeExplorer.Upload.Skin = "Default"
rfeExplorer.WindowManager.Skin = "Default"
The FileExplorer has a Web20 setting, but appears as though the WindowManager ignores it.
5 Answers, 1 is accepted
0
Shinu
Top achievements
Rank 2
answered on 18 Mar 2014, 11:35 AM
Hi Peter,
Please have a look into the sample code snippet which works fine at my end.
ASPX:
C#:
Thanks,
Shinu.
Please have a look into the sample code snippet which works fine at my end.
ASPX:
<
telerik:RadFileExplorer
ID
=
"RadFileExplorer1"
runat
=
"server"
>
<
Configuration
ViewPaths
=
"~/RadAsyncUpload/Uploads/"
UploadPaths
=
"~/RadAsyncUpload/Uploads/"
DeletePaths
=
"~/RadAsyncUpload/Uploads/"
/>
</
telerik:RadFileExplorer
>
C#:
protected
void
Page_Load(
object
sender, EventArgs e)
{
RadFileExplorer1.WindowManager.Skin =
"Web20"
;
}
Thanks,
Shinu.
0
Peter
Top achievements
Rank 1
answered on 18 Mar 2014, 12:07 PM
I have this...
rfeExplorer.Skin = "Web20"
rfeExplorer.Upload.Skin = "Default"
rfeExplorer.WindowManager.Skin = "Default"
<telerik:RadFileExplorer runat="server" ID="rfeExplorer" Width="960px" Height="450px" EnableOpenFile="true"
DisplayUpFolderItem="false" EnableCreateNewFolder="false" TreePaneWidth="0" VisibleControls="ContextMenus,Grid,ListView,Toolbar"
OnClientMove="OnExplorerMoveHandler" AllowPaging="true" PageSize="200" OnClientFileOpen="OnExplorerFileOpen">
<Configuration ViewPaths="~/xxxx" UploadPaths="~/xxxx" MaxUploadFileSize="5500000"
DeletePaths="~/xxxx" EnableAsyncUpload="true"></Configuration>
</telerik:RadFileExplorer>
(Ingore notepad) Notice how the modal has the Web20 skin.
rfeExplorer.Skin = "Web20"
rfeExplorer.Upload.Skin = "Default"
rfeExplorer.WindowManager.Skin = "Default"
<telerik:RadFileExplorer runat="server" ID="rfeExplorer" Width="960px" Height="450px" EnableOpenFile="true"
DisplayUpFolderItem="false" EnableCreateNewFolder="false" TreePaneWidth="0" VisibleControls="ContextMenus,Grid,ListView,Toolbar"
OnClientMove="OnExplorerMoveHandler" AllowPaging="true" PageSize="200" OnClientFileOpen="OnExplorerFileOpen">
<Configuration ViewPaths="~/xxxx" UploadPaths="~/xxxx" MaxUploadFileSize="5500000"
DeletePaths="~/xxxx" EnableAsyncUpload="true"></Configuration>
</telerik:RadFileExplorer>
(Ingore notepad) Notice how the modal has the Web20 skin.
0
Hi Peter,
Setting different skin to the FileExplorer's nested controls can be done only in case FileExplorer has not got explicitly set skin (it is used with the Default one). When the control has a specified skin like Web20, the skins of its nested controls cannot be controlled anymore. The reason for that is the configured skin is applied to the control (and all its children) in its PreRender event and cannot be overwritten.
I hope this information will be helpful for you.
Kind regards,
Vessy
Telerik
Setting different skin to the FileExplorer's nested controls can be done only in case FileExplorer has not got explicitly set skin (it is used with the Default one). When the control has a specified skin like Web20, the skins of its nested controls cannot be controlled anymore. The reason for that is the configured skin is applied to the control (and all its children) in its PreRender event and cannot be overwritten.
I hope this information will be helpful for you.
Kind regards,
Vessy
Telerik
DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.
0
Peter
Top achievements
Rank 1
answered on 18 Mar 2014, 03:03 PM
Ah well, that explains it, don't like it, but I can live with it...
0
Hi Peter,
Thank you for your understanding. Do not hesitate to contact us should any further questions occur.
Kind regards,
Vessy
Telerik
Thank you for your understanding. Do not hesitate to contact us should any further questions occur.
Kind regards,
Vessy
Telerik
DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.