This is a migrated thread and some comments may be shown as answers.

rename the current sheet

2 Answers 98 Views
Spreadsheet
This is a migrated thread and some comments may be shown as answers.
nacer eddine
Top achievements
Rank 1
nacer eddine asked on 10 Feb 2015, 05:12 PM
hi 

1- is it possible to  handle the event when the user rename a sheet ?
2- how to add a new sheet in Sheetselector?

2 Answers, 1 is accepted

Sort by
0
Tanya
Telerik team
answered on 11 Feb 2015, 03:44 PM
Hi Nacer Eddine,

1. You can subscribe to the NameChanged event of а Sheet:
void sheet_NameChanged(object sender, EventArgs e)
{
    // Your logic here
}

2. New Sheet can be directly added using the Add() method of the WorksheetCollection:
Worksheet sheet = this.radSpreadsheet.Workbook.Worksheets.Add();

For more information about Worksheet you can refer to the Working with Worksheet section in our documentation.

Please, do not hesitate to contact us if you have any other questions.

Regards,
Tanya
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
nacer eddine
Top achievements
Rank 1
answered on 12 Feb 2015, 02:09 PM
thank you very much for your rapid response
Tags
Spreadsheet
Asked by
nacer eddine
Top achievements
Rank 1
Answers by
Tanya
Telerik team
nacer eddine
Top achievements
Rank 1
Share this question
or