Hi,
When I paste data from clipboard to the RadGriView cell, which type is GridViewMaskedTextBoxColumn, I need to validate the data and trim out some empty spaces from clipboard data before pasting it to the cell.
How can I do that?
I tried to use PastingCellClipboardContext-event but it not raised when GridViewMaskedTextBoxColumn cell is in editing mode.
I create maskedtext type of columns in code behind...
and I'm using RadControls version 2012.1.326.40
Regards,
Auvo
When I paste data from clipboard to the RadGriView cell, which type is GridViewMaskedTextBoxColumn, I need to validate the data and trim out some empty spaces from clipboard data before pasting it to the cell.
How can I do that?
I tried to use PastingCellClipboardContext-event but it not raised when GridViewMaskedTextBoxColumn cell is in editing mode.
I create maskedtext type of columns in code behind...
GridViewMaskedTextBoxColumn column =
new
GridViewMaskedTextBoxColumn();
column.DataMemberBinding =
new
Binding(bindKey);
column.Header = headerText;
column.UniqueName = uniqueName;
column.IsReadOnly = readOnly;
column.TextAlignment = textAlign;
column.MaskType = MaskType.Standard;
column.Mask = mask;
and I'm using RadControls version 2012.1.326.40
Regards,
Auvo