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

Hide AddressBar

2 Answers 142 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
JC
Top achievements
Rank 1
JC asked on 18 Feb 2013, 08:20 AM
Hi All,

I have a RadFileExplorer in my project which displays a list of Images in a directory. I want the location eg.\WebSphere\Spec02\Images to be hidden from the fileexplorer and also prevent opening the image files directly in the window.

Any help appreciated,
JC 

2 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 18 Feb 2013, 09:46 AM
Hi,

Try the following to achieve your scenario.
CSS:
.RadFileExplorer .rfeAddressBox
{
 display: none !important;
}
JS:
function OnClientFileOpen(sender, args)
{
 args.set_cancel(true);
}

Thanks,
Shinu
0
Dobromir
Telerik team
answered on 19 Feb 2013, 03:10 PM
Hi JC,

You can configure the controls that will be displayed in RadFileExplorer by settings it VisibleControls property. Please examine the following live demo for more information:
http://demos.telerik.com/aspnet-ajax/fileexplorer/examples/overview/defaultcs.aspx

Kind 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
JC
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Dobromir
Telerik team
Share this question
or