Hello Divyesh Chapaneri,
You can set the value and mask properties like the following:
this.radMaskedEditBox1.Mask = "000.000.000.000";
this.radMaskedEditBox1.Value = "192168042117";
The result of there settings will be:
This is the best case I can provide you with our control. However we have plans in the future to implement more complex validation and mask handling in RadMaskedEditBox. The behavior will include Regular expressions and built in validation. One of the built in features in the control will be IP mask type.
Also if the mask is set to "000.000.000.000" the behavior you have encountered is expected. The "0's in the mask represent digit characters. A placeholder such as "_"
is drawn when there are no digit characters.
Regarding assigning text, you need to use the control's Value
property instead of the Text
Text property is updated with the Value
property so if there is no Value and you call Focus
the control will update itself and set the Text corresponding to the empty Value.
the Telerik team
Check out Telerik Trainer
, the state of the art learning tool for Telerik products.