How to Hide Navigation Pane, Context Menu & Toolbar in File Manager
|
<SfFileManager ID="filemanager" @ref="file" View="Syncfusion.Blazor.FileManager.ViewType.Details" Path="@path" SelectedItems="@SelectedItems">
<FileManagerNavigationPaneSettings Visible="false"></FileManagerNavigationPaneSettings>
<FileManagerContextMenuSettings Visible="false"></FileManagerContextMenuSettings>
<FileManagerToolbarSettings Visible="false"></FileManagerToolbarSettings>
<FileManagerEvents OnFileOpen="fileOpen"></FileManagerEvents>
<FileManagerAjaxSettings Url="/api/Default/FileOperations"
UploadUrl="/api/Default/Upload"
DownloadUrl="/api/Default/Download"
GetImageUrl="/api/Default/GetImage">
</FileManagerAjaxSettings>
</SfFileManager> |
|
<div id='container' @ref="container" class="fileupload">
<SfUploader @ref="upload" ID="UploadFiles" Files="@files">
</SfUploader>
<SfButton ID="openBtn" OnClick="click" Content="File Browser"></SfButton>
</div>
<div id='target' class="control-section">
<SfDialog @ref="dialog" ID="dialog" Height="75%" Width="850px" Target="#target" Visible="false" ShowCloseIcon="true" Header="Select a file">
<DialogEvents Opened="open" ></DialogEvents>
<DialogTemplates>
<Content>
<SfFileManager ID="filemanager" @ref="file" View="Syncfusion.Blazor.FileManager.ViewType.Details" Path="@path" SelectedItems="@SelectedItems">
<FileManagerNavigationPaneSettings Visible="false"></FileManagerNavigationPaneSettings>
<FileManagerContextMenuSettings Visible="false"></FileManagerContextMenuSettings>
<FileManagerToolbarSettings Visible="false"></FileManagerToolbarSettings>
<FileManagerEvents OnFileOpen="fileOpen"></FileManagerEvents>
<FileManagerAjaxSettings Url="/api/Default/FileOperations"
UploadUrl="/api/Default/Upload"
DownloadUrl="/api/Default/Download"
GetImageUrl="/api/Default/GetImage">
</FileManagerAjaxSettings>
</SfFileManager>
</Content>
</DialogTemplates>
</SfDialog>
</div>
public void click()
{
this.dialog.Show();
path = "/";
}
public void open(Object args)
{
this.file.Refresh();
}
public void fileOpen(Syncfusion.Blazor.FileManager.FileOpenEventArgs args)
{
string dataString = JsonConvert.SerializeObject(args.FileDetails);
Dictionary<string, dynamic> fileDetails = JsonConvert.DeserializeObject<Dictionary<string, dynamic>>(dataString);
if (fileDetails["isFile"])
{
args.Cancel = true;
files = new List<UploaderUploadedFiles> { new UploaderUploadedFiles() { Name = fileDetails["name"], Type = fileDetails["type"], Size = fileDetails["size"] } };
this.dialog.Hide();
}
} |
|
<SfFileManager ID="filemanager" @ref="file" View="Syncfusion.Blazor.FileManager.ViewType.Details" Path="@path" SelectedItems="@SelectedItems">
<FileManagerEvents OnFileOpen="fileOpen" FileSelection="fileSelect"></FileManagerEvents>
<FileManagerAjaxSettings Url="/api/Default/FileOperations"
UploadUrl="/api/Default/Upload"
DownloadUrl="/api/Default/Download"
GetImageUrl="/api/Default/GetImage">
</FileManagerAjaxSettings>
</SfFileManager>
public void fileSelect(Syncfusion.Blazor.FileManager.FileSelectionEventArgs args)
{
string dataString1 = JsonConvert.SerializeObject(args.FileDetails);
Dictionary<string, dynamic> fileDetails1 = JsonConvert.DeserializeObject<Dictionary<string, dynamic>>(dataString1);
if (fileDetails1["isFile"])
{
string slectedFile = (this.file.AjaxSettings.Url + fileDetails1["filterPath"].Replace("\\", "/") + fileDetails1["name"]);
}
} |
Simon
|
<GridColumn Field="Imagesrc" HeaderText="Customer Name" Width="200">
...
<EditTemplate>
<SfFileManager ID="filemanager" @ref="file" ...>
<FileManagerEvents OnFileOpen="fileOpen" FileSelection="fileSelect"></FileManagerEvents>
...
</SfFileManager>
</EditTemplate>
</GridColumn>
|
|
@using Syncfusion.Blazor.FileManager;
<SfFileManager @ref="file" SelectedItems="@SelectedItems" Path="@path">
<FileManagerAjaxSettings Url="https://ej2-aspcore-service.azurewebsites.net/api/FileManager/FileOperations"
</FileManagerAjaxSettings>
</SfFileManager>
@code{
SfFileManager file;
public string path { get; set; } = "/Pictures/Food";
public string[] SelectedItems { get; set; } = new string[] { "Nuggets.png" };
} |
Attachment: filemanager_1_113214e.7z
|
<style>
#filemanager_breadcrumbbar .e-addressbar-ul {
display: none;
}
</style> |
|
<style>
/* Change the file manager image size*/
.e-filemanager .e-large-icons .e-list-img {
height: 140px;
max-height: inherit;
}
/* Change the icon size of FileManager component*/
.e-filemanager .e-large-icons .e-list-icon {
height: 140px;
width: 135px;
margin: 0 10px !important;
}
/* change the image list item size */
.e-filemanager .e-large-icons .e-list-item {
height: 174px;
width: 164px;
}
</style> |
Interesting!
That setup sounds similar to how I handle interface customization for certain applications. In my case, I had to simplify the layout for a restaurant project that displayed the white limozeen menu on a local system without extra navigation panels or toolbars. The goal was to create a clean, focused window that only showed essential content, much like your idea of a file picker with minimal distractions.
Hi
Sam,
With the shared details, we understand that you want to remove the navigation
pane and toolbars in the Blazor FileManager component. To meet your need, we
suggest setting the Visible property NavigationPaneSettings
and ToolbarSettings
in the Syncfusion FileManager component. Here, we have included the sample and
screenshots for your reference.
Sample : Attached as a zip file.
Provider : https://github.com/SyncfusionExamples/ej2-aspcore-file-provider
Output screenshot:
|
|
Please refer to the details shared on your end. If we have misunderstood your needs or if you have any concerns regarding the information provided, please give us a clear and description of your requirements, along with a visual representation of your expectations. This will help us assist you more effectively in finding a solution.
Your input is invaluable in helping us understand your issue and in providing a timely resolution.
Leo Lavanya Dhanaraj
Attachment: FileManager_dedcb56a.zip
Thanks for sharing this! I was actually searching for something similar while working on a local file picker project. By the way, this reminded me of how I organized a small app for listing local files, kind of like how I was listing Dutch Bros menu prices for a small internal tool — keeping it clean and without extra navigation panes made a big difference. Great info here!
Malik, thanks for the feedback—glad it helped! A clean, pane-free layout is a great choice for both file pickers and list tools.
Please get back to us if you need any further assistance in future,
Thanks for sharing this! I was actually searching for something similar while working on a local file picker project. By the way, this reminded me of how I organized a small app for listing local files, kind of like how I was listing the Bob Evans menu for a small internal tool — keeping it clean and without extra navigation panes made a big difference. Great info here!
Thanks for the update. Please get back to us if you need any further assistance in future.
Thanks for sharing this! I was looking for something similar while working on a local file picker project. It reminded me of how I organized a small app to list local files—much like when I structured the texas roadhouse steak menu for an internal tool. Keeping everything simple and free of extra navigation panels really made a big difference. Great information overall!
Thank you for your feedback! We're glad you found the information helpful for your local file picker project. If you have any issues or need assistance, feel free to reach out anytime!
Regards,
Praveen Sellappan,
Thank you for your feedback! We’re glad you found the information helpful for your local file picker project, as tools like these make app functionality smoother and more user-friendly. Platforms such as waho app focus on improving usability and performance by offering streamlined digital solutions that support developers and everyday users alike. If you ever face challenges or need additional assistance while working on similar projects, reliable resources and apps like waho app can be a valuable place to explore practical guidance and support.
Thanks for sharing this solution! Controlling the File Manager UI elements like the navigation pane and context menu can really improve usability, especially in applications where users need a clean, focused interface.
I’ve faced something similar on a menu-focused web project where the user experience depends on easily navigating drink and item lists without extra UI clutter. On that site, we also make design choices that simplify navigation so users can find what they’re looking for quickly — for example, clearly laying out drink options and prices before interaction: https://7brewcoffemenu.com/.
This discussion reinforces how important it is to tailor UI elements based on user needs. Thanks for the insights!
Thank you for sharing this solution. Being able to control File Manager UI elements—such as the navigation pane and context menu—can significantly enhance usability, particularly in applications that benefit from a clean and distraction-free interface. for example, clearly laying out drink options and prices before interaction: https://www.chesapeakeinn.com/
I encountered a similar challenge while working on a menu-centric web project where the overall user experience relied on quick, intuitive navigation through drink and item lists without unnecessary UI clutter. In that case, we made deliberate design decisions to streamline navigation and help users locate information efficiently. For example, drink options and pricing were presented clearly upfront, allowing users to understand their choices before any interaction took place.
Thanks for sharing this solution. The explanation about customizing the File Manager component to control the navigation pane and context menu behavior is really helpful. It’s great to see how flexible the configuration options are for tailoring the UI experience. Discussions like this make it much easier for developers to implement cleaner interfaces without unnecessary toolbar elements. Appreciate the detailed clarification!
Interesting use case—keeping the file picker clean and minimal definitely makes the workflow smoother for users. You might need to customize the file manager settings or use a lightweight file picker library that allows UI elements to be hidden. It’s kind of like how businesses simplify experiences for users, similar to fundraising events by Texas Roadhouse where the focus stays on a clear goal, like supporting a cause through a Texas Roadhouse fundraiser. Keeping things simple and purpose-driven usually leads to a better overall experience.
Thank you for your feedback! We’re glad you found the information helpful for your local file picker project, as tools like these make app functionality smoother and more user-friendly. Platforms such as waho app focus on improving usability and performance by offering streamlined digital solutions that support developers and everyday users alike. If you ever face challenges or need additional assistance while working on similar projects, reliable resources and apps like waho app can be a valuable place to explore practical guidance and support.
If you strip it down, your File Manager question is about minimizing UI to behave like a picker your included Syncfusion answer is correct: disable ToolbarSettings, NavigationPaneSettings, and ContextMenuSettings via their Visible = false properties to achieve a clean selection interface. resource
You can hide the Navigation Pane, Context Menu, and Toolbar in most file manager systems through the settings or configuration options. Usually, there is a “View” or “Layout” section where you can disable these interface elements for a cleaner workspace. I recently customized my setup while checking the Tierra mia menu website design inspiration, and removing unnecessary panels really improved the user experience and screen space.
Great guide hiding the navigation pane, context menu, and toolbar really helps create a clean and distraction-free file manager experience. It’s especially useful for improving focus and making navigation smoother, particularly for users who prefer a minimal and organized workspace.
Great guide hiding the navigation pane, context menu, and toolbar really helps create a clean and distraction-free file manager experience. It’s especially useful for improving focus and making navigation smoother, particularly for users who prefer a minimal and organized workspace.
- 33 Replies
- 18 Participants
- Marked answer
-
SI Simon
- Aug 21, 2020 07:21 AM UTC
- Jun 4, 2026 07:53 AM UTC