Hide AddressBar

3 posts, 0 answers
  1. JC
    JC avatar
    30 posts
    Member since:
    Feb 2013

    Posted 18 Feb 2013 Link to this post

    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. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 18 Feb 2013 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Dobromir
    Admin
    Dobromir avatar
    1633 posts

    Posted 19 Feb 2013 Link to this post

    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.
Back to Top