0
Add this code to the Prerender event:
[C#]
@Html.DevExpress().Spreadsheet(settings => {
settings.Name = "Spreadsheet";
settings.PreRender = (s, e) => {
DevExpress.Web.ASPxSpreadsheet.ASPxSpreadsheet spreadsheet = (DevExpress.Web.ASPxSpreadsheet.ASPxSpreadsheet)s;
spreadsheet.CreateDefaultRibbonTabs(true);
DevExpress.Web.ASPxRibbon.RibbonTab fileTab = spreadsheet.RibbonTabs[0];
fileTab.Groups[0].Items[0].ClientEnabled = false;
fileTab.Groups[0].Items[1].ClientEnabled = false;
};
}).GetHtml()
'Exportoptionspropertiesnames.Html' dos not contain a Definition for 'Devexpress' because of the first line...
– user75204