VB Net Web Page input mask

I`m working on a small internal web site using Visual Studio 2012, with VB web form page. Our users would like an input box mask for phone number entry. Drawing a complete blank, can someone help with Ajax extender or another idea to write a simple phone number input mask in VB?

This is what I have tried.

1.      Added Scriptmanager to top off page
2.      Dragged and dropped MaskedEditorExtender into textbox
3.      Set Mask and Mask Type in properties box

However, I continue to get this error on page load:

Unhandled exception at line 67, column 5 in http://localhost:60760/WebForm1.aspx

0x800a138f - Microsoft JScript runtime error: Unable to get value of the property 'UI': object is null or undefined

And this line is highlighted yellow:

    $create(Sys.Extended.UI.MaskedEditBehavior, {"Century":2000,"ClientStateFieldID":"TextBox1_MaskedEditExtender_ClientState","CultureAMPMPlaceholder":"AM;PM","CultureCurrencySymbolPlaceholder":"$","CultureDateFormat":"MDY","CultureDatePlaceholder":"/","CultureDecimalPlaceholder":".","CultureName":"en-US","CultureThousandsPlaceholder":",","CultureTimePlaceholder":":","Mask":"999-999-9999","MaskType":2,"id":"TextBox1_MaskedEditExtender"}, null, null, $get("TextBox1"));
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Roopesh ReddyIT AnalystCommented:

Try configuring AJAXControlToolKit from Nuget - http://roopeshreddy.wordpress.com/2012/10/07/installingconfiguring-ajaxcontroltoolkit-through-nuget/

Once done, check this post - http://forums.asp.net/t/1216351.aspx/1

Hope it helps u...

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Dave_CARSITAuthor Commented:
changing this worked.

< asp:ScriptManager ID="scriptMaster" runat="server"></asp:ScriptManager>

to this:

< asp:ToolkitScriptManager ID="toolkitScriptMaster" runat="server">
< /asp:ToolkitScriptManager>
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.