Here are the details: My datagrid contains a template column for a Phone
number. In the EditItemTemplate and FooterTemplate I have placed a MaskBox,
which is an input mask control (from AssistedSolutions) that allows a phone
number mask to be displayed. This works well for the EditItemTemplate and
FooterTemplate as they are both input controls like the mask box, but not so
well for the label control which is not an input control.
Ultimately, I want to display the entered data along with the phone number
mask in the ItemTemplate, which uses a label to display the corresponding
value. So, I have placed a mask control beside the label in the
ItemTemplate, and set it to invisible. What I want to do is have the label
control's text property set to the text property of the mask control, so
that the item's appearance is consistent whether the datagrid is in view,
edit, or insert modes.
I hope this sheds more light on the problem.
Thanks in advance,
Mervin Williams