Change default file view from Icon to Detail and custom ToolBar

98 views
Skip to first unread message

July Zerg

unread,
Mar 25, 2014, 6:31:12 PM3/25/14
to izwebfil...@googlegroups.com
How do I change default file view from Icon to Detail
I dont want to hide the toolbar, just want to remove some tool like delete, copy, move..., how do i do that, I see on Demo, default.aspx page have Customize Toolbar with several checkboxs but couldn't find them on when I look at the code.

July Zerg

unread,
Mar 27, 2014, 1:51:11 PM3/27/14
to izwebfil...@googlegroups.com
One more question: How do I prevent rename, delete all folders and files (make them read-only) in a specific folder (which is not a root)

Igor Zelmanovich

unread,
Mar 30, 2014, 3:17:16 AM3/30/14
to izwebfil...@googlegroups.com
To control toolbar you can use ToolbarOptions property:

in ASPX:

<iz:FileManager ID="FileManager1" runat="server">
    <ToolbarOptions ShowRefreshButton="false" />
</iz:FileManager>

in C#:

FileManager1.ToolbarOptions.ShowRefreshButton = false





Igor Zelmanovich


On Thu, Mar 27, 2014 at 7:51 PM, July Zerg <allabout...@gmail.com> wrote:
One more question: How do I prevent rename, delete all folders and files (make them read-only) in a specific folder (which is not a root)

--
You received this message because you are subscribed to the Google Groups "izwebfilemanager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to izwebfilemanag...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Igor Zelmanovich

unread,
Mar 30, 2014, 3:26:31 AM3/30/14
to izwebfil...@googlegroups.com
All actions such rename, delete, etc. fires events before and after.

Event fired before an action can be canceled based on your criteria.

Refer to CancelOpenCommand.aspx in Demo project. In this sample opening file is canceled based on FileName check. You can implement your own logic to validate path based on permissions.


Igor Zelmanovich
Reply all
Reply to author
Forward
0 new messages