using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Windows.Browser; //引入此命名空间 protected void btnOK_Click(object sender, EventArgs e)
{ ScriptObject hello = HtmlPage.Window.GetProperty("Hello") as ScriptObject; hello.InvokeSelf(this.input.Text);
}
请高手指教。引入的空间错误。导致我的ScriptObject 不可用,怎么解决。望高手指点迷津。
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Windows.Browser; //引入此命名空间 protected void btnOK_Click(object sender, EventArgs e)
{ ScriptObject hello = HtmlPage.Window.GetProperty("Hello") as ScriptObject; hello.InvokeSelf(this.input.Text);
}
请高手指教。引入的空间错误。导致我的ScriptObject 不可用,怎么解决。望高手指点迷津。
具体说就是我想在后台代码.cs文件按中调用客户端脚本对象。实在头疼,希望有人帮忙。由于时间问题,希望能及时回复。