I have a DataBoundGrid and a BoundColumn in the grid. I set the CellType of the column to MonthCalendar. I wish the CurrentCell to let me modify the data only from the MonthCalendar control (only when I push the button). I need these behavior because when I have a cell selected and I press any key on the keyboard the data cell changes and I get a error message: " ... is not a valid value for the DateTime", where "..." is the text in the cell.
ADAdministrator Syncfusion Team March 22, 2004 09:06 AM UTC
One way you can prevent the cell from editing is to handle teh CurrentCellStartEditing event and set e.Cancel = true. I think you will also have to hand CurrentCellCloseDropdown and call CurrentCell.ConfirmChanges to make the selcted date show up in th ecell before you leave teh cell. Here are some snippets.