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

Rad masked Input text

2 Answers 107 Views
Input
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 22 Oct 2009, 05:28 PM
Hi,
 I have the rad masked input text box and when the page is loaded and the masked text box is empty i see the position of _ lines shrinked and when i start typing it moves along. Can any one help please.I ma using telerik 2009
     <telerik:RadMaskedTextBox MaxLength="11" ID="inpID" runat="server" PromptChar="_" 
                Skin="WebBlue" Mask="###-##-####" Height="15px" Width="65px" BorderColor="black"
                <ClientEvents OnFocus="Focus" /> 
            </telerik:RadMaskedTextBox>&nbsp;<br /> 
 
 
   
         function Focus(sender, eventArgs) 
            { 
               sender.selectAllText(); 
            } 
         


Thank you

2 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 22 Oct 2009, 05:41 PM
Hello John,

I recommend you try a monospaced font like Courier New:
<telerik:RadMaskedTextBox MaxLength="11" ID="inpID" runat="server" PromptChar="_"
    Skin="WebBlue" Mask="###-##-####" Height="15px" Width="65px" BorderColor="black"
    Font-Names="Courier New">
    <ClientEvents OnFocus="Focus" />
</telerik:RadMaskedTextBox>

Regards,
Daniel
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
John
Top achievements
Rank 1
answered on 22 Oct 2009, 06:48 PM
Yup... Its fine now and working.... I also added font-size also to make it much better.

Thanks for your help... 
Tags
Input
Asked by
John
Top achievements
Rank 1
Answers by
Daniel
Telerik team
John
Top achievements
Rank 1
Share this question
or