诸如如下代码:
客户端:
function initMyAjax() {
        
var condpart    = new Sys.UI.TextBox($('condpart'));
        
var iscond      = new Sys.UI.CheckBox($('iscond'));
    }
xml-script:
<script type="text/xml-script">
      
<page xmlns="http://schemas.microsoft.com/xml-script/2005">
        
<components>
          
<Control id="condpart" visibilityMode="Collapse">
            
<bindings>
                
<binding dataContext="iscond" dataPath="checked" property="visible" />
            
</bindings>
          
</Control>
          
<CheckBox id="iscond" />
        
</components>
      
</page>
    
</script>
怎么在我的机器上都无法运行?
客户端代码提示没有Sys.UI.TextBox构造函数,但是Sys.UI.Control是存在并且可以构造成功的,xml-script直接就不运行,郁闷啊。莫非atlas CTP版本到atlas 1.0的改动去掉了这些?这改动也太大了吧。希望高手指点。
我安装了ASP.NET 2.0 AJAX Extensions 1.0,ASP.NET AJAX Control Toolkit和ASP.NET Futures (July 2007)。

posted on 2007-08-25 11:27  红马天下  阅读(409)  评论(2编辑  收藏  举报