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

RadMaskedTextBox show only last 4 digit of SSN#

3 Answers 342 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Vitaly
Top achievements
Rank 1
Vitaly asked on 02 Nov 2011, 06:36 PM
Good afternoon,
I have following code written in aspx page:

<

 

div id="divEIS">

 

<

 

div id="divEIS1" runat="server" style="text-align :center ;" >

 

 

<telerik:RadTextBox ID="txtEISId" MaxLength ="9" runat="server" Font-Bold ="true" Font-Size ="10" Height="16">

 

 

</telerik:RadTextBox></div></div>

 

 

<div id="divSSN">

 

 

<div id="divSSN1" runat="server" >

 

 

<telerik:RadMaskedTextBox ID="txtSSN" runat="server" Mask="###-##-####" Font-Bold ="true" Font-Size ="10" Height="16">

 

 

</telerik:RadMaskedTextBox></div></div>

 


As user type in SSN# in the Box I would like to convert numbers to XXX-XX-4433 or after he/she hits search button,but actual value I need to pass to store procedure.

Thanks so much for your help.

3 Answers, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 03 Nov 2011, 01:33 PM
Hi Vitaly,

I would suggest you to review the following forum post where a possible approach for the required functionality is suggested.
Test it on your side and let me know if it helps.

Best wishes,
Maria Ilieva
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
Vitaly
Top achievements
Rank 1
answered on 03 Nov 2011, 03:46 PM
Good morning Maria,
thanks for your respond.Unfortunately it is not working as I type SSN# and click search button nothing is happened.Entire SSN is stays on the screen.

Thanks so much.
0
Maria Ilieva
Telerik team
answered on 04 Nov 2011, 01:49 PM
Hi Vitaly,

I'm not completely what your exact scenario is. However I prepared a sample runnable application which demonstrates the properly working solution.
Test it on your site and let me know what the difference in your case is.

All the best,
Maria Ilieva
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
General Discussions
Asked by
Vitaly
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Vitaly
Top achievements
Rank 1
Share this question
or