I am using a GridViewMaskBoxColumn for formatted string entry, because I am working with an existing data store that contains text entries. I would like to save the fully formatted value, not just the entered characters .
Am I able to bind the column so that the Text property of the cell editor is saved to the data store instead of the Value property. It would be the difference between storing :
masked Value : 1234567890
masked Text : 12-34-567-89-W0
Here is the columns Designer code.
Am I able to bind the column so that the Text property of the cell editor is saved to the data store instead of the Value property. It would be the difference between storing :
masked Value : 1234567890
masked Text : 12-34-567-89-W0
Here is the columns Designer code.
gridViewMaskBoxColumn1.FieldName =
"LSD"
;
gridViewMaskBoxColumn1.HeaderText =
"ll-ss-ttt-rr-mm"
;
gridViewMaskBoxColumn1.Mask =
"00\\-00\\-000\\-00\\-\\W0"
;
gridViewMaskBoxColumn1.MaskType = Telerik.WinControls.UI.MaskType.Standard;
gridViewMaskBoxColumn1.Name =
"LSDM"
;
gridViewMaskBoxColumn1.Width = 120;