自定义控件内嵌资源

 [assembly: System.Web.UI.WebResource("ProcessBar.ProgressBar.JScript.JavaScript_ProgressBar.js", "application/x-javascript")]

this.Page.ClientScript.RegisterClientScriptInclude("ProgressBarJS", this.Page.ClientScript.GetWebResourceUrl(base.GetType(), "ProcessBar.ProgressBar.JScript.JavaScript_ProgressBar.js"));

ProcessBar.ProgressBar:命名空间
JScript:文件夹


posted @ 2012-07-05 14:13  tinaleft  阅读(155)  评论(0编辑  收藏  举报