This question is locked. New answers and comments are not allowed.
I'm trying to create and populate a RadMaskedTextBox control within a Silverlight Project using the following code as an example. However, Stepping through the code, the value of .MaskedText is nothing when it gets to the point of setting the variable Result. Is it possible to set the RadMaskedTextBox control in code and if so what is the proper way to do it?
Thanks
Thanks
Dim Result As String = "92881-0706"Dim PostMask As String = "#####-####' Dim mtb As New Telerik.Windows.Controls.RadMaskedTextBox If PostMask IsNot Nothing Then If PostMask.ToString.Length > 0 Then With mtb .MaskType = Telerik.Windows.Controls.MaskType.Standard .Mask = PostMask .Value = PostalCode Result = .MaskedText End With End If End If