现在的位置: 首页 > 综合 > 正文

atlas中的客户端和xml-script是不是都取消了

2011年10月06日 ⁄ 综合 ⁄ 共 797字 ⁄ 字号 评论关闭
诸如如下代码:
客户端:
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)。

抱歉!评论已关闭.