Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inputmask for mmTextbox
Message
 
To
28/07/2010 15:02:29
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 3.0
Miscellaneous
Thread ID:
01473906
Message ID:
01474436
Views:
38
>While stuck on another problem I thought I'd look at this to get it working. Unfortunately there must be something I am missing.
>
>In my Master file I put this:
>
>
<script type="text/javascript" src="/jquery.js"></script>
><script type="text/javascript" src="/jquery.maskedinput.js"></script>
><script type="text/javascript">
>    $("document").ready()
>    {
>        $(".number").mask("999,999,999.99");  // Masks all element with the class='number'
>    }
>     </script>
>
>Then in my aspx page I defined a textbox like this:
>
>
<mm:mmTextBox ID="txtMinSumAssured" runat="server" BindingSource="Plan" BindingSourceMember="MinSumAssured"
>   Width="100px" class="number"></mm:mmTextBox>
>
>But I am not getting the masking to work.
>

In your mm:mmTextBox markup change class="number" to CssClass="number".
-Paul

RCS Solutions, Inc.
Blog
Twitter
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform