I haven't really found any documentation and I had to rely on intellisense to get this to work. I'll try and do a bit more research and maybe write a blog post on this.
As you said, I could not find any documentaiton about MasEdit parameters in javascript, too.I am going to research and if i would found out it, i'll put here...
abedijoo
Member
10 Points
12 Posts
using Ajax Controll Toolkit MaskEditBox in Asp.net mvc?
Dec 06, 2009 08:29 AM|LINK
I've found Ajax Control Toolkit compatibale for asp.net mvc, but i do not know how can i use MaskEditbox control in the Asp.net mvc Project.
Is there any simple example about using MaskEditBox toolkit control in the Asp.net Mvc?
CodeHobo
All-Star
18647 Points
2647 Posts
Re: using Ajax Controll Toolkit MaskEditBox in Asp.net mvc?
Dec 06, 2009 08:51 PM|LINK
Here's a really simple example on masking a date:
<script src="http://ajax.microsoft.com/ajax/beta/0911/Start.js" type="text/javascript"></script> <script src="http://ajax.microsoft.com/ajax/beta/0911/extended/ExtendedControls.debug.js" type="text/javascript"></script> <script type="text/javascript"> Sys.require(Sys.components.maskedEdit, function () { Sys.create.maskedEdit("#OrderDate", { Mask : "99/99/9999" }); }); </script> <input id="OrderDate" type="text" />I haven't really found any documentation and I had to rely on intellisense to get this to work. I'll try and do a bit more research and maybe write a blog post on this.
Edit: Here's a Jquery version with a few examples:
http://digitalbush.com/projects/masked-input-plugin/
Blog | Twitter : @Hattan
abedijoo
Member
10 Points
12 Posts
Re: using Ajax Controll Toolkit MaskEditBox in Asp.net mvc?
Dec 07, 2009 05:50 PM|LINK
As you said, I could not find any documentaiton about MasEdit parameters in javascript, too.I am going to research and if i would found out it, i'll put here...
Tnx very much....