The DevExpress ASP.NET MVC Spreadsheet control's Reading View mode prohibits users from editing document and replaces the ribbon UI with a compact toolbar that has a lightweight render compared to the ribbon. End-users can switch between this view mode and the Editing view mode that enables all editing features using the commands in the ribbon UI and the Reading View toolbar.
The Spreadsheet control allows you to specify the control's view mode in code using the Mode property on the server, and the GetViewMode and SetViewMode methods on the client. This control also provides two events that you can use to execute a custom code when changing the view mode using the ViewModeChanging event on the server and ViewModeChanged on the client. In this demo, the ViewModeChanging event is used to add a custom item to the Reading View toolbar.
Local Copy of this Demo To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer. |
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\MVCxSpreadsheetDemos |