Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Web
Mobile
Document Management
Desktop
Reporting
Testing & Mocking
CMS
UI/UX Tools
Debugging
Free Tools
Support and Learning
Productivity and Design Tools
Hi,
I am trying to replace TextBox that had CharacterCasing="Upper" with RadMaskedTextInput.
I do not want to have placeholders, so I cannot use Mask=">a10"
Is there any other way to change charaters to upper when typing into RadMaskedTextInput?
Thanks,
Lukasz
<telerik:RadMaskedTextInput Mask=
""
ValueChanging=
"mask_ValueChanging"
Width=
"300"
x:Name=
"mask"
/>
private
void
mask_ValueChanging(
object
sender, Telerik.Windows.Controls.MaskedInput.RadMaskedInputValueChangingEventArgs e)
{
if
(e.NewValue ==
null
)
return
;
string
newValue = e.NewValue.ToString();
(newValue.Length > 0)
newValue = newValue.ToUpper();
}
this
.mask.ValueChanging -=
.mask_ValueChanging;
.mask.Value = newValue;
.mask.ValueChanging +=