I'm changing the fontname of my grid and if I choose Monotype Corsiva the cells go red and the text changes to "Exception". In the CellStyle sample I get an error Invalid Property. I don't get this problem for any other font installed on my machine. Can anyone give me any idea why this happens?
ADAdministrator Syncfusion Team April 28, 2003 01:50 AM
The reason you are seeing this is that Monotype Corsiva does not support regular font. You also need to set Italic. With the upcoming 1.6 release the error is handled a little better, but it still throws an exception at that point. If you wanted to catch this error, then one way would be to derive your grid, override OnDrawItem and put the call to the base class in a try block.