The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
I have been experiencing problems trying to attach data validation to merged cells. The code below merges 3 cells and then assigns a simple list of values as a drop-down. All seems fine until the workbook is saved at which point an exception is reported with the message: "An entry with the same key already exists".
For testing purposes the following code can be added to your DataValidation_2005 sample WinForm solution.
LRLokesh R Syncfusion Team December 17, 2009 04:30 AM UTC
Hi Adrian,
Thank you for your interest on Syncfusion Products.
I have made certain modifications on your code.please try the following code.
_________________________________________________________________ //No need to give the data range again for the validation,because you have already merged the cells //
IDataValidation v = sheet.Range["F7"].DataValidation;