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
<
telerik:RadMaskedTextBox
ID
=
"RadMaskedTextBox1"
runat
"server"
AllowEmptyEnumerations
"true"
>
</
protected
void
Page_Load(
object
sender, EventArgs e)
{
uint
maxCharacters = 10;
RadMaskedTextBox1.Mask = GenerateCustomMask(maxCharacters);
}
private
string
GenerateCustomMask(
maxCharacters)
startChar =
'0'
;
endChar =
'z'
outMask =
""
StringBuilder mask =
new
StringBuilder();
mask.Append(
"<"
);
for
(
i = startChar; i <= endChar; i++)
if
(Char.IsLetterOrDigit((
char
)i))
mask.Append((
)i);
else
continue
(i < endChar)
"|"
">"
i = 0; i < maxCharacters; i++)
outMask += mask.ToString();
return
outMask;
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.