日期:2014-05-19  浏览次数:20431 次

2.0中怎样在页面中调用jscript方法???
2.0中怎样在页面中调用jscript方法???,下面的代码是2003中可以正常使用的,在2005中怎样修改??/

<%@   Page   language= "Jscript "   Codebehind= "Search.aspx.cs "   AutoEventWireup= "false "   Inherits= "A8.Web.WebPage.Public.Search "   %>
<%@   Register   TagPrefix= "cc1 "   Namespace= "SP "   Assembly= "SP "   %>
<script   runat= "server "   language= "jscript "   src= "../../Js/rs_server.js "> </script>
<cc1:sp0   id= "Sp01 "   runat= "server "> </cc1:sp0>
<%  
jsrsDispatch( "Search,SearchCurrency ")  
%>
<script   runat= "server "   language= "jscript ">

function   Search(...paramvalues:Object[])
{
return   Search_cs(paramvalues)
}

function   SearchCurrency(...paramvalues:Object[])
{
return   SearchCurrency_cs(paramvalues)
}

</script>

------解决方案--------------------
你可以注册使用
Page.ClientScript.RegisterClientScriptInclude( "key ", "rs_server.js ");
------解决方案--------------------
<%@ Page language= "Jscript " Codebehind= "Search.aspx.cs " AutoEventWireup= "false " Inherits= "A8.Web.WebPage.Public.Search " %>


----------

<%@ Page language= "Jscript " AutoEventWireup= "false " %>

------解决方案--------------------
Page language= "Jscript " Codebehind= "Search.aspx.cs " ??????

JScript怎么后缀是CS ????

乱七八糟乱来啊