FileManagerToolbarRefreshButton Class
Implements the refresh button functionality.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
Declaration
Remarks
The file manager stores a FileManagerToolbarRefreshButton object in the FileManagerToolbarItemCollection collection. Use theFileManagerSettingsContextMenu.Items or FileManagerSettingsToolbar.Items properties to access this collection.
Concept
Example
In markup:
<dx:ASPxFileManager ID="FileManager" ClientInstanceName="FileManager" runat="server" />
<SettingsToolbar>
<Items>
<dx:FileManagerToolbarRefreshButton BeginGroup="false" />
...
</Items>
</SettingsToolbar>
</dx:ASPxFileManager>
In code:
ASPxFileManager fm = new ASPxFileManager();
...
FileManagerToolbarRefreshButton refresh = new FileManagerToolbarRefreshButton();
refresh.BeginGroup = false;
fm.SettingsToolbar.Items.Add(refresh);
MVC:
@Html.DevExpress().FileManager( settings => {
settings.Name = "fileManager";
FileManagerToolbarRefreshButton refresh = new FileManagerToolbarRefreshButton();
refresh.BeginGroup = false;
settings.SettingsToolbar.Items.Add(refresh);
...
}).BindToFolder(Model).GetHtml()
Online Demo
Inheritance
Object
StateManager
CollectionItem
FileManagerToolbarItemBase
FileManagerToolbarRefreshButton
See Also