This is a migrated thread and some comments may be shown as answers.

Telerik.GridMaskedColumn

1 Answer 141 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Wayne Pirtle
Top achievements
Rank 1
Wayne Pirtle asked on 13 Mar 2008, 07:08 PM
Why does the GridMaskedColumn store the mask with the data and the RadMaskedTextbox  only stores the data value without the mask?  I have a RadMaskedTextbox with a Phone mask of (###)###-#### and the value that gets stored in the database on an insert using the Text attribute of the Textbox is the numeric value of the phone number.  I have a Telerik.GridMaskedColumn with the exact same mask and I am getting the mask and the data storing in the database ie. (333)444-6666.  I can use either one but I would certainly appreciate some consistency in how these controls provide data.

1 Answer, 1 is accepted

Sort by
0
plamen
Top achievements
Rank 1
answered on 17 Mar 2008, 03:25 PM
hi

RadMaskedTextBox provides the following properties - Text, TextWithLiterals, TextWithPrompt, and TextWithPromptAndLiterals. GridMaskedColumn provides its data with the Text property

This example shows how to get and set the value of all RadInput controls server-side.
Tags
Grid
Asked by
Wayne Pirtle
Top achievements
Rank 1
Answers by
plamen
Top achievements
Rank 1
Share this question
or