AjaxToolKit-在PreRender之前可能未注册Extender控件 [英] AjaxToolKit - Extender controls may not be registered before PreRender

查看:73
本文介绍了AjaxToolKit-在PreRender之前可能未注册Extender控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使MaskedEditExtender和MaskedEditValidator正常工作.

我没有收到任何类型的错误;但是maskededitextender或验证器完全无法工作.

问题与以下内容完全相似:

ajaxtoolkit maskededitextender不起作用

ive从asp.net网站下载了maskededitor的示例,并按原样运行代码.

我在做什么错了?

如果您认为jquery更好,请给我一个例子!

解决方案

我必须说使用Ajax Toolkit已经很长时间了,因为我开始使用越来越多的jQuery并更好地了解Javascript,我意识到Ajax Toolkit正在为非常简单的事情创建大量代码.

我的建议是使用jQuery插件,因为您可能已经在使用jQuery.

从这个非常简单的教程开始:

http://webdeveloperplus.com/jquery/how-to -mask-input-with-jquery/

i am trying to the MaskedEditExtender and MaskedEditValidator to work.

im not getting any type of error; however the maskededitextender or validator are completely not working.

the question is exactly similar to:

ajaxtoolkit maskededitextender not working

ive downloaded a sample of the maskededitor from the asp.net site and running the code exactly as is.

what am i doing wrong?

if you think jquery is better for this please do send me an example!

解决方案

I must say that it's been long time that I have used the Ajax Toolkit as I started to use more and more jQuery and understand Javascript better, I realized that Ajax Toolkit was creating to much code for really simple things.

My suggestion goes to use a jQuery Plugin as you probably are already using jQuery for something else.

start with this really simple tutorial:

http://webdeveloperplus.com/jquery/how-to-mask-input-with-jquery/

这篇关于AjaxToolKit-在PreRender之前可能未注册Extender控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆