I have loaded an excel file into the spreadsheet control from our document database. When a user makes changes and clicks the save button I would like to handle a save process back to our document database of the file.
If a save function can be raised I can save to the document database
If a SavAs fucntion can be raised I can prompt the user to create a new version
Can the control have these two features added please?
this.AssociatedSpreadsheet.SpreadsheetElement.CommandDescriptors.SaveFile.Command.Execute(null);Hi Dimitar,
That could work is the are the save and save as functions. Will give it a try.
Thanks
Stephen
class MyRibbonUI : RadSpreadsheetRibbonBar{ protected override void backstageButtonSave_Click(object sender, EventArgs e) { // base.backstageButtonSave_Click(sender, e); //add your code here } protected override void buttonSave_Click(object sender, EventArgs e) { // base.buttonSave_Click(sender, e); //add your code here }}